configured some maintenance options

This commit is contained in:
Geir Okkenhaug Jerstad 2024-12-03 09:16:18 +01:00
parent b38eedf42c
commit d7abb17048

View file

@ -34,6 +34,17 @@
services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true;
# Maintenance
system.autoUpgrade.enable = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 10d";
};
nix.optimise.automatic = true;
nix.optimise.dates = [ "03:45" ];
nix.settings.auto-optimise-store = true;
# Firmware
services.fwupd.enable = true;
hardware.firmware = with pkgs; [ firmwareLinuxNonfree ];