Better storage optimisation settings
This commit is contained in:
parent
b4289141db
commit
1a3711e3e1
1 changed files with 12 additions and 4 deletions
|
|
@ -13,11 +13,16 @@
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixVersions.stable;
|
package = pkgs.nixVersions.stable;
|
||||||
|
|
||||||
optimise.automatic = true;
|
optimise = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "Mon *-*-* 03:00:00";
|
||||||
|
randomizedDelaySec = "10m";
|
||||||
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "Mon *-*-* 03:00:00";
|
||||||
options = "--delete-older-than 2w";
|
randomizedDelaySec = "10m";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
settings.experimental-features = [
|
settings.experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
|
|
@ -31,7 +36,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot = {
|
||||||
|
enable = true;
|
||||||
|
configurationLimit = 8;
|
||||||
|
};
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
timeout = 1;
|
timeout = 1;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue