Added nix garbage collection

This commit is contained in:
Alexandre1a 2026-01-15 08:36:27 +01:00
parent 9fddd3f4c8
commit f70e024ff5
No known key found for this signature in database
GPG Key ID: CE01C28FBC5EEF10

View File

@ -1,6 +1,11 @@
{ config, ... }:
{
nix = {
gc = {
automatic = true;
options = "--delete-older-than 2d";
};
settings = {
experimental-features = [ "nix-command" "flakes" ];
@ -31,4 +36,4 @@
allowUnfree = true;
};
};
}
}