diff --git a/flake.nix b/flake.nix index 98070011..1b1a63bc 100644 --- a/flake.nix +++ b/flake.nix @@ -140,6 +140,7 @@ # declarative host config so be sure to check out # `hostSpecificModule` function as well as the declarative host setup. ++ [ + inputs.nix-index-database.nixosModules.nix-index inputs.sops-nix.nixosModules.sops inputs.disko.nixosModules.disko ]; diff --git a/setups/nixos.nix b/setups/nixos.nix index cd4e94c9..70902f6f 100644 --- a/setups/nixos.nix +++ b/setups/nixos.nix @@ -39,9 +39,8 @@ format = null; modules = [ inputs.nur.nixosModules.nur - inputs.nix-index-database.nixosModules.nix-index - { + ({ config, ... }: { nixpkgs.overlays = [ # Neovim nightly! inputs.neovim-nightly-overlay.overlays.default @@ -55,7 +54,7 @@ # Access to NUR. inputs.nur.overlay ]; - } + }) ]; };