added custom-trimmer for removing old nix generations

This commit is contained in:
Tomas Rivera
2026-03-11 15:40:52 +01:00
parent 9401f13348
commit a8568872bf
3 changed files with 268 additions and 1 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ qt.enable = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d"; # every week delete generations older than a month
options = "--delete-older-than 7d"; # every week delete generations older than a month
};
# Install firefox.
+1
View File
@@ -75,6 +75,7 @@
(pkgs.callPackage ../../modules/scripts/btm.nix {})
(pkgs.callPackage ../../modules/scripts/manix.nix {})
(pkgs.callPackage ../../modules/scripts/man.nix {})
(pkgs.callPackage ../../modules/scripts/trimmer.nix {})
#pkgs
pkgs.gruvbox-gtk-theme
# # Adds the 'hello' command to your environment. It prints a friendly