Remove deprecated nixFlakes package

This commit is contained in:
2022-09-30 21:30:28 +02:00
parent 06ce326008
commit c98a00cc3f

View File

@@ -62,7 +62,10 @@ with pkgs;
# Run Nix garbage collector, while avoiding recompilation and enable flakes
nix = {
settings.auto-optimise-store = true;
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
};
gc = {
automatic = true;
options = "--delete-older-than 14d";
@@ -72,9 +75,7 @@ with pkgs;
keep-outputs = true
keep-derivations = true
gc-keep-outputs = true
experimental-features = nix-command flakes
'';
package = nixFlakes;
};
# Use same version of nixpkgs for nix-shell