Remove deprecated nixFlakes package
This commit is contained in:
parent
06ce326008
commit
c98a00cc3f
|
@ -62,7 +62,10 @@ with pkgs;
|
||||||
|
|
||||||
# Run Nix garbage collector, while avoiding recompilation and enable flakes
|
# Run Nix garbage collector, while avoiding recompilation and enable flakes
|
||||||
nix = {
|
nix = {
|
||||||
settings.auto-optimise-store = true;
|
settings = {
|
||||||
|
auto-optimise-store = true;
|
||||||
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 14d";
|
||||||
|
@ -72,9 +75,7 @@ with pkgs;
|
||||||
keep-outputs = true
|
keep-outputs = true
|
||||||
keep-derivations = true
|
keep-derivations = true
|
||||||
gc-keep-outputs = true
|
gc-keep-outputs = true
|
||||||
experimental-features = nix-command flakes
|
|
||||||
'';
|
'';
|
||||||
package = nixFlakes;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use same version of nixpkgs for nix-shell
|
# Use same version of nixpkgs for nix-shell
|
||||||
|
|
Loading…
Reference in New Issue