Use nixFlakes instead of nixUnstable

This commit is contained in:
Simon Bruder 2021-12-01 17:56:35 +01:00
parent a9817baee9
commit cc8727fa80
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ let
git-lfs
gnutar
gzip
nixUnstable
nixFlakes
];
in
{

View file

@ -99,7 +99,7 @@
};
system.activationScripts.diff = ''
[ -L /run/current-system ] && ${pkgs.nixUnstable}/bin/nix \
[ -L /run/current-system ] && ${pkgs.nixFlakes}/bin/nix \
--experimental-features 'nix-command' \
store \
diff-closures /run/current-system "$systemConfig"

View file

@ -30,7 +30,7 @@ in
nix = {
# nix with flake support
package = pkgs.nixUnstable;
package = pkgs.nixFlakes;
registry = with inputs; {
nixpkgs.flake = nixpkgs;