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