diff --git a/flake.lock b/flake.lock index 7581814..c7878f1 100644 --- a/flake.lock +++ b/flake.lock @@ -253,6 +253,22 @@ } }, "nixpkgs-stable": { + "locked": { + "lastModified": 1723556749, + "narHash": "sha256-+CHVZnTnIYRLYsARInHYoWkujzcRkLY/gXm3s5bE52o=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "4a92571f9207810b559c9eac203d1f4d79830073", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.05", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable_2": { "locked": { "lastModified": 1721524707, "narHash": "sha256-5NctRsoE54N86nWd0psae70YSLfrOek3Kv1e8KoXe/0=", @@ -279,6 +295,7 @@ "nix-vscode-extensions": "nix-vscode-extensions", "nixos-generators": "nixos-generators", "nixpkgs": "nixpkgs", + "nixpkgs-stable": "nixpkgs-stable", "sops-nix": "sops-nix", "treefmt-nix": "treefmt-nix", "wrapper-manager": "wrapper-manager" @@ -289,7 +306,7 @@ "nixpkgs": [ "nixpkgs" ], - "nixpkgs-stable": "nixpkgs-stable" + "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { "lastModified": 1723501126, diff --git a/flake.nix b/flake.nix index eb30b46..23600b1 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,8 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; + flake-parts.url = "github:hercules-ci/flake-parts"; nixos-generators = { diff --git a/flake/hosts.nix b/flake/hosts.nix index 4f63a74..7f307ca 100644 --- a/flake/hosts.nix +++ b/flake/hosts.nix @@ -19,7 +19,7 @@ in inherit specialArgs; modules = modulesOf "inspiron"; }; - installer = inputs.nixpkgs.lib.nixosSystem { + installer = inputs.nixpkgs-stable.lib.nixosSystem { inherit specialArgs; modules = [ { networking.hostName = "installer"; }