add garbage collection

This commit is contained in:
Sakooooo 2023-07-04 12:22:54 +03:00
parent b509f5ada1
commit 2b06eefb5e
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -166,6 +166,13 @@
];
};
# garbage collection
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
home-manager.useUserPackages = true;
home-manager.users.sako = { pkgs, ...}: {
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!!