From ac75bde641ef37d379a4c048d2bdb49b4ba069aa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 27 Feb 2022 12:09:27 -0800 Subject: flake: add new overlay: NUR NUR is the nux user repository, which provides additional packages. --- flake.lock | 16 ++++++++++++++++ flake.nix | 2 ++ lib/default.nix | 5 ++++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 108c6ef..6a02041 100644 --- a/flake.lock +++ b/flake.lock @@ -88,6 +88,21 @@ "type": "github" } }, + "nur": { + "locked": { + "lastModified": 1645979938, + "narHash": "sha256-3qsDn3hcabz4YyMqCuxlr11HonB5PGEBWdfQWZL7rYU=", + "owner": "nix-community", + "repo": "NUR", + "rev": "7f7ac98566dd07d3400ed29f506f7b5ef0b6bbf2", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -95,6 +110,7 @@ "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", + "nur": "nur", "utils": "utils" } }, diff --git a/flake.nix b/flake.nix index 37b4418..2e58b89 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,8 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + nur.url = "github:nix-community/NUR"; + home-manager = { url = "github:nix-community/home-manager/release-21.11"; # We want home-manager to use the same set of nixpkgs as our system. diff --git a/lib/default.nix b/lib/default.nix index fe43eb1..89aff0a 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -47,7 +47,10 @@ { nixpkgs = { config.allowUnfree = true; - overlays = [ inputs.emacs-overlay.overlay ]; + overlays = [ + inputs.emacs-overlay.overlay + inputs.nur.overlay + ]; }; programs = { home-manager.enable = true; -- cgit 1.4.1