From 4ba4fa5c56fa3637463a72062e0e17bcc142b5f9 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sat, 1 Feb 2025 19:26:37 +0100 Subject: [PATCH] Enable nh autocleaning weekly of nix store. --- hosts/nixos/home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/nixos/home.nix b/hosts/nixos/home.nix index f5607c3..eb247b2 100644 --- a/hosts/nixos/home.nix +++ b/hosts/nixos/home.nix @@ -43,6 +43,10 @@ programs.nh = { enable = true; flake = "/home/crony/Repos/nixos"; + clean = { + enable = true; + extraArgs = "--keep 5 --keep-since 3d"; + }; }; # Install foot