diff --git a/src/dotfiles/default.nix b/src/dotfiles/default.nix index 9e03ae9..fca909f 100644 --- a/src/dotfiles/default.nix +++ b/src/dotfiles/default.nix @@ -33,7 +33,12 @@ let repositoryModules = modules; root = root + "/guests"; }; - modules.imports = util.collectNixFiles (root + "/modules"); + modules.imports = [ + { + nixpkgs.overlays = [ self.overlays.default ]; + } + ] + ++ util.collectNixFiles (root + "/modules"); in import ./hosts.nix { diff --git a/src/dotfiles/hosts.nix b/src/dotfiles/hosts.nix index d5d2ea9..5ce6e53 100644 --- a/src/dotfiles/hosts.nix +++ b/src/dotfiles/hosts.nix @@ -24,10 +24,6 @@ let inputs.sops-nix.nixosModules.sops inputs.stylix.nixosModules.stylix - { - nixpkgs.overlays = [ specialArgs.self.overlays.default ]; - } - repositoryModules guestModules