diff options
author | Alan Pearce | 2023-06-30 17:00:05 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-30 17:00:05 +0200 |
commit | 2c733fb4b58f1940399c528d44ccc170e77e848c (patch) | |
tree | f048b40ae35b73f9480307bf06d05f26081ea955 /flake.nix | |
parent | f14c2285e9a0213aa0beed894bfb94c837ced31f (diff) | |
download | nixfiles-2c733fb4b58f1940399c528d44ccc170e77e848c.tar.lz nixfiles-2c733fb4b58f1940399c528d44ccc170e77e848c.tar.zst nixfiles-2c733fb4b58f1940399c528d44ccc170e77e848c.zip |
Add nix-index-database flake
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix index 6329ef61..8e519a36 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixos-hardware.url = "github:NixOS/nixos-hardware"; + nix-index-database.url = "github:Mic92/nix-index-database"; + nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; darwin.url = "github:lnl7/nix-darwin/master"; darwin.inputs.nixpkgs.follows = "nixpkgs"; home-manager.url = "github:nix-community/home-manager"; @@ -19,6 +21,7 @@ , emacs-overlay , home-manager , nixpkgs + , nix-index-database , secrets , ... } @ attrs: @@ -46,6 +49,7 @@ extraSpecialArgs = { inherit attrs; }; modules = [ ./user/mba.nix + nix-index-database.hmModules.nix-index (secrets + "/default.nix") (secrets + "/ssh.nix") ({ nixpkgs.overlays = [ emacs-overlay.overlay ]; }) @@ -56,6 +60,7 @@ extraSpecialArgs = { inherit attrs; }; modules = [ ./user/prefect.nix + nix-index-database.hmModules.nix-index (secrets + "/default.nix") (secrets + "/ssh.nix") ({ nixpkgs.overlays = [ emacs-overlay.overlay ]; }) @@ -66,6 +71,7 @@ extraSpecialArgs = { inherit attrs; }; modules = [ ./user/nanopi.nix + nix-index-database.hmModules.nix-index (secrets + "/default.nix") ]; }; @@ -74,6 +80,7 @@ extraSpecialArgs = { inherit attrs; }; modules = [ ./user/server.nix + nix-index-database.hmModules.nix-index (secrets + "/default.nix") ]; }; |