[thinkman] optimise store automatically & fix format

This commit is contained in:
Felix Buehler 2021-05-03 23:22:09 +02:00
parent 197a1ef3e6
commit b4535d6b57

View file

@ -48,8 +48,12 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# Nix # Nix
nix.gc.automatic = true; nix.autoOptimiseStore = true;
nix.gc.options = "--delete-older-than 30d"; nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
system.stateVersion = "20.09"; system.stateVersion = "20.09";
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;