aboutsummaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-07-11 22:09:59 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-07-11 22:09:59 +0530
commit286db5a9b657a3cb01194334ecf9d9142d4247be (patch)
tree2203d9a677affddca351e5bcaca24a90cc3b81f2 /home.nix
parent7697ad2b90f0c490c75fa5b22dde3840fc455d2d (diff)
gc
Diffstat (limited to 'home.nix')
-rw-r--r--home.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/home.nix b/home.nix
index 069ed4c..2f7fbf1 100644
--- a/home.nix
+++ b/home.nix
@@ -13,6 +13,12 @@
home.stateVersion = "25.05";
};
home-manager.backupFileExtension = "hm-backup";
+ nix.gc = {
+ automatic = true;
+ dates = "weekly";
+ options = "--delete-older-than 10d";
+ };
+
environment.systemPackages = with pkgs; [
fastfetch