use nixFlakes instead of nixUnstable

This commit is contained in:
Charlotte 🦝 Delenk 2022-02-28 15:25:41 +01:00
parent b85eb200d9
commit 19f2bdf21b
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
auto-optimise-store = true;
builders-use-substitutes = true;
};
package = pkgs.nixUnstable;
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';

View file

@ -38,7 +38,7 @@ let script = ''
deploy_finished
PATH="${pkgs.gitMinimal}/bin:$PATH" ${pkgs.nixUnstable}/bin/nix flake update
PATH="${pkgs.gitMinimal}/bin:$PATH" ${pkgs.nixFlakes}/bin/nix flake update
${pkgs.gitMinimal}/bin/git commit -am "Automatic nixpkgs update"
${pkgs.gitMinimal}/bin/git push origin main