Compare commits
2 Commits
b77ade82f3
...
ef4716c476
Author | SHA1 | Date |
---|---|---|
stupidcomputer | ef4716c476 | |
stupidcomputer | d0b8013497 |
|
@ -59,6 +59,10 @@
|
||||||
stateVersion = "23.05"; # don't change this, lol
|
stateVersion = "23.05"; # don't change this, lol
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.journald.extraConfig = ''
|
||||||
|
SystemMaxUse=1G
|
||||||
|
'';
|
||||||
|
|
||||||
system.userActivationScripts = {
|
system.userActivationScripts = {
|
||||||
copyEssentialConfiguration = {
|
copyEssentialConfiguration = {
|
||||||
# we don't want to bring in the entirety of home-manager for this, so just
|
# we don't want to bring in the entirety of home-manager for this, so just
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue