Compare commits

..

2 Commits

Author SHA1 Message Date
stupidcomputer ef4716c476 add a wrapper for nix-gc 2024-10-29 00:09:25 -05:00
stupidcomputer d0b8013497 reduce log file prevalance on netbox 2024-10-29 00:09:06 -05:00
2 changed files with 8 additions and 1 deletions

View File

@ -60,7 +60,7 @@
}; };
services.journald.extraConfig = '' services.journald.extraConfig = ''
SystemMaxUse=2G SystemMaxUse=1G
''; '';
system.userActivationScripts = { system.userActivationScripts = {

7
builds/rebuild/nix-sanitation Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
printf "clearing out nix caches\n"
sudo nix-collect-garbage -d
nix-collect-garbage -d
sudo nix-store --optimize