diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-27 12:09:27 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-27 13:05:31 -0800 |
commit | ac75bde641ef37d379a4c048d2bdb49b4ba069aa (patch) | |
tree | 72dccd272103a691c56e01ad8b7039c4ba2eb93b | |
parent | docs: add partition setup for the NAS (diff) | |
download | world-ac75bde641ef37d379a4c048d2bdb49b4ba069aa.tar.gz |
flake: add new overlay: NUR
NUR is the nux user repository, which provides additional packages.
-rw-r--r-- | flake.lock | 16 | ||||
-rw-r--r-- | flake.nix | 2 | ||||
-rw-r--r-- | lib/default.nix | 5 |
3 files changed, 22 insertions, 1 deletions
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; |