Remove deprecated nixFlakes package

This commit is contained in:
coolneng 2022-09-30 21:30:28 +02:00
parent 06ce326008
commit c98a00cc3f
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 4 additions and 3 deletions

View File

@ -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