diff --git a/flake.nix b/flake.nix index ce985d7f..43872a9d 100644 --- a/flake.nix +++ b/flake.nix @@ -70,9 +70,6 @@ }; in { - nix.nixPath = [ - "nixpkgs=${inputs.nixpkgs}" - ]; # nixosConfigurations = (lib.genAttrs hostDirNames ( host: diff --git a/modules/common/default.nix b/modules/common/default.nix index e70647d5..7ff0fae0 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -25,6 +25,7 @@ in system.stateVersion = lib.mkDefault "25.05"; nix = { + nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md optimise = { automatic = true; dates = [ "05:00" ];