From 70304d26ff063f8b46789c7c4921d09f52ba4110 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 14 Jun 2023 13:55:19 +0200 Subject: [PATCH] Remove profiles older than 30 days with gc --- common/main.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/common/main.nix b/common/main.nix index fd5296e..59d5286 100644 --- a/common/main.nix +++ b/common/main.nix @@ -46,6 +46,7 @@ nix.settings.trusted-users = [ "@wheel" ]; nix.gc.automatic = true; nix.gc.dates = "weekly"; + nix.gc.options = "--delete-older-than 30d"; programs.zsh.enable = true; programs.zsh.histSize = 100000;