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