AutoOptimizeStore changed to new syntax.
This commit is contained in:
1 parent
9f8fea1f51
commit
426750bcb8
2 files changed
+23
-20
No files matched your search
@@ -200,23 +200,3 @@
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
|
||||
|
||||
##### nix extra options #######
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
'';
|
||||
# package = pkgs.nixFlakes;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
persistent = true;
|
||||
};
|
||||
autoOptimiseStore = true;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
##### nix extra options #######
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
'';
|
||||
# package = pkgs.nixFlakes;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
persistent = true;
|
||||
};
|
||||
settings.auto-optimize-store = true;
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user