diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-10-02 14:06:26 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-10-02 14:06:26 +0200 |
| commit | ca1cd335e66b0e2eefecf70030a7e64276956c2b (patch) | |
| tree | d7a1b9bef6740642cd6e587490314fc66fecb11f /nixos | |
| parent | 136f43b3913327e9fe25d35ae5f3277d1eb51abf (diff) | |
collect garbage daily but only for files older than 30 days
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/configuration.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index beeef3a..13e3aa1 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -29,7 +29,8 @@ autoOptimiseStore = true; gc = { automatic = true; - dates = "weekly"; + dates = "daily"; + options = "--delete-older-than 30d"; }; }; |
