From 19f2bdf21b448e8b1fd7a66405bb78bf1cc91638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 28 Feb 2022 15:25:41 +0100 Subject: [PATCH] use nixFlakes instead of nixUnstable --- config/nix.nix | 2 +- config/services/autodeploy.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nix.nix b/config/nix.nix index 0cfcf865..c480d03e 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -11,7 +11,7 @@ auto-optimise-store = true; builders-use-substitutes = true; }; - package = pkgs.nixUnstable; + package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes ''; diff --git a/config/services/autodeploy.nix b/config/services/autodeploy.nix index 0ca6d17b..9deb4c15 100644 --- a/config/services/autodeploy.nix +++ b/config/services/autodeploy.nix @@ -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