servers: auto gc the nix store

This commit is contained in:
Adithya 2024-07-05 00:55:27 +05:30
parent 4e23022984
commit e1c339d7ef
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
5 changed files with 35 additions and 0 deletions

View file

@ -7,6 +7,13 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;

View file

@ -8,6 +8,13 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;

View file

@ -8,6 +8,13 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;

View file

@ -8,6 +8,13 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;

View file

@ -7,6 +7,13 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;