reduce systemd persistence

This commit is contained in:
Sean Buckley 2023-06-23 13:11:01 -04:00
parent 49fae6395f
commit ff467cc516
2 changed files with 1 additions and 3 deletions

View file

@ -26,7 +26,7 @@ in
"/etc/NetworkManager/system-connections" "/etc/NetworkManager/system-connections"
"/var/lib/bluetooth" "/var/lib/bluetooth"
"/var/lib/nixos" "/var/lib/nixos"
"/var/lib/systemd" "/var/lib/systemd/coredump"
"/var/log/journal" "/var/log/journal"
]; ];
@ -54,7 +54,6 @@ in
users.users.root.passwordFile = "${persist}/shadow_sean"; users.users.root.passwordFile = "${persist}/shadow_sean";
services.zfs.trim.interval = "03:05"; services.zfs.trim.interval = "03:05";
systemd.timers.zpool-trim.timerConfig.Persistent = lib.mkForce "no";
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;

View file

@ -39,7 +39,6 @@
''; '';
gc = { gc = {
automatic = true; automatic = true;
persistent = false;
randomizedDelaySec = "40min"; randomizedDelaySec = "40min";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };