Add: automatic nix clean

This commit is contained in:
DuN0z 2025-11-05 03:53:52 +01:00
parent 201666c577
commit 87f60899c5

View file

@ -4,6 +4,12 @@
experimental-features = ["nix-command" "flakes"]; experimental-features = ["nix-command" "flakes"];
}; };
nix.gc = {
automatic = true ;
dates = "daily" ;
options = "--delete-older-than 7d" ;
};
nixpkgs.config = { nixpkgs.config = {
# allowUnfree = true; # allowUnfree = true;
# allowUnsupportedSystem = true; # allowUnsupportedSystem = true;