Use nixFlakes instead of nixUnstable
This commit is contained in:
parent
a9817baee9
commit
cc8727fa80
|
@ -10,7 +10,7 @@ let
|
||||||
git-lfs
|
git-lfs
|
||||||
gnutar
|
gnutar
|
||||||
gzip
|
gzip
|
||||||
nixUnstable
|
nixFlakes
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
system.activationScripts.diff = ''
|
system.activationScripts.diff = ''
|
||||||
[ -L /run/current-system ] && ${pkgs.nixUnstable}/bin/nix \
|
[ -L /run/current-system ] && ${pkgs.nixFlakes}/bin/nix \
|
||||||
--experimental-features 'nix-command' \
|
--experimental-features 'nix-command' \
|
||||||
store \
|
store \
|
||||||
diff-closures /run/current-system "$systemConfig"
|
diff-closures /run/current-system "$systemConfig"
|
||||||
|
|
|
@ -30,7 +30,7 @@ in
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
# nix with flake support
|
# nix with flake support
|
||||||
package = pkgs.nixUnstable;
|
package = pkgs.nixFlakes;
|
||||||
|
|
||||||
registry = with inputs; {
|
registry = with inputs; {
|
||||||
nixpkgs.flake = nixpkgs;
|
nixpkgs.flake = nixpkgs;
|
||||||
|
|
Loading…
Reference in a new issue