mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
reduce systemd persistence
This commit is contained in:
parent
49fae6395f
commit
ff467cc516
2 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue