diff --git a/Makefile b/Makefile index f039201d..f53321c0 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ vm/bootstrap0: mount /dev/disk/by-label/boot /mnt/boot; \ nixos-generate-config --root /mnt; \ sed --in-place '/system\.stateVersion = .*/a \ - nix.package = pkgs.nixUnstable;\n \ + nix.package = pkgs.nixVersions.latest;\n \ nix.extraOptions = \"experimental-features = nix-command flakes\";\n \ nix.settings.substituters = [\"https://mitchellh-nixos-config.cachix.org\"];\n \ nix.settings.trusted-public-keys = [\"mitchellh-nixos-config.cachix.org-1:bjEbXJyLrL1HZZHBbO4QALnI5faYZppzkU4D2s0G8RQ=\"];\n \ diff --git a/machines/wsl.nix b/machines/wsl.nix index f1812eb4..cab86664 100644 --- a/machines/wsl.nix +++ b/machines/wsl.nix @@ -9,7 +9,7 @@ }; nix = { - package = pkgs.nixUnstable; + package = pkgs.nixVersions.latest; extraOptions = '' experimental-features = nix-command flakes keep-outputs = true