⚡️ (hosts/system) change nix.optimise
and nix.gc
settings
This commit is contained in:
parent
65495f048d
commit
5646ad58a7
|
@ -6,12 +6,16 @@
|
|||
}: {
|
||||
# optimizations
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.optimise = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
};
|
||||
|
||||
# garbage collection
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
|
||||
# experimental features
|
||||
|
|
|
@ -16,11 +16,15 @@
|
|||
|
||||
# optimizations
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.optimise = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
};
|
||||
|
||||
# garbage collection
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue