diff options
| author | seth <[email protected]> | 2023-02-20 15:12:21 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-20 15:12:21 -0500 |
| commit | 5ec16f1a062317605bd064f6aa7f943795a9db5c (patch) | |
| tree | 35397dee941a30189bb2b687bd4b447d08e185f3 | |
| parent | c29ebfedcad3ef36557608926aeea68d3106157c (diff) | |
automatic nix gc
| -rw-r--r-- | hosts/common/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/common/default.nix b/hosts/common/default.nix index df576df..3ec95d5 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -10,5 +10,10 @@ _: { ./users.nix ]; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; # config.services.kmscon.enable = true; } |
