diff options
author | Linnnus <[email protected]> | 2025-05-04 10:53:01 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-05-04 10:53:01 +0200 |
commit | 079b5628d902d4647ab00a10e14ff9bcd2be5ee9 (patch) | |
tree | 7e734043e249f178e6fb79cdebc043a60cbf9324 /hosts/ahmed/configuration.nix | |
parent | 2e6046dbd32a0c6e1164aac678de9bc3c017e501 (diff) |
ahmed: Do automatic Nix garbage collections
Diffstat (limited to 'hosts/ahmed/configuration.nix')
-rw-r--r-- | hosts/ahmed/configuration.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 43ce35b..bee715b 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -85,6 +85,10 @@ allowReboot = true; }; + # Automatic garbage collection. The default value of running every night is + # probably a bit overkill, but this system has very little storage. + nix.gc.automatic = true; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It's perfectly fine and recommended to leave |