feat(nixos): configure garbage collection and
...optimisation
This commit is contained in:
parent
8cc6c51e15
commit
2968f5396d
|
@ -199,16 +199,20 @@ in
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
nix.settings = {
|
nix = {
|
||||||
warn-dirty = false;
|
gc = {
|
||||||
auto-optimise-store = true;
|
automatic = true;
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
dates = "weekly";
|
||||||
};
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
nix.gc = {
|
optimise.automatic = true;
|
||||||
automatic = true;
|
|
||||||
dates = "weekly";
|
settings = {
|
||||||
options = "--delete-older-than 30d";
|
auto-optimise-store = true;
|
||||||
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
warn-dirty = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Make Caps lock work as an Escape key on press and Ctrl on hold.
|
# Make Caps lock work as an Escape key on press and Ctrl on hold.
|
||||||
|
|
Loading…
Reference in a new issue