@jaspermayone.com's dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

better gc on alastor

+11 -1
+11 -1
hosts/alastor/configuration.nix
··· 24 24 # System version 25 25 system.stateVersion = "24.05"; 26 26 27 - # Limit boot generations to prevent /boot from filling up 27 + # Prevent /boot partition from filling up 28 28 boot.loader.grub.configurationLimit = 10; 29 + 30 + # Automatic garbage collection to remove old generations 31 + nix.gc = { 32 + automatic = true; 33 + dates = "weekly"; 34 + options = "--delete-older-than 7d"; 35 + }; 36 + 37 + # Clean /tmp on boot 38 + boot.tmp.cleanOnBoot = true; 29 39 30 40 # Hostname 31 41 networking.hostName = hostname;