add gc
This commit is contained in:
1 parent
37c70787c9
commit
b885280ab1
1 file changed
+6
-3
@@ -7,17 +7,20 @@
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
nix = {
|
||||
settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
|
||||
];
|
||||
nix.gc = {
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
persistent = true;
|
||||
dates = [ "daily" ];
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Secret Management
|
||||
|
||||
Reference in new issue
Block a user