From 89ad28e6db4b53c0852ac8345b9924dea3558b09 Mon Sep 17 00:00:00 2001 From: "Chinmay D. Pai" Date: Sat, 25 Nov 2023 01:29:43 +0530 Subject: [PATCH] fix: use 7d instead of 1w for nix gc Signed-off-by: Chinmay D. Pai --- modules/nixos/core-server.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/core-server.nix b/modules/nixos/core-server.nix index 107b487..b8b8f04 100644 --- a/modules/nixos/core-server.nix +++ b/modules/nixos/core-server.nix @@ -33,11 +33,11 @@ nix = { package = pkgs.nixUnstable; - # run garbage collector dailt + # run garbage collector daily gc = { automatic = true; dates = "daily"; - options = "--delete-older-than 1w"; + options = "--delete-older-than 7d"; }; settings = { auto-optimise-store = true;