init
This commit is contained in:
commit
aae151cee6
33 changed files with 1351 additions and 0 deletions
13
hosts/makise/system/configuration/gc.nix
Executable file
13
hosts/makise/system/configuration/gc.nix
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
{ ...
|
||||
}:
|
||||
|
||||
{
|
||||
nix.gc = {
|
||||
# Enable automatic garbage collection
|
||||
automatic = true;
|
||||
# Run daily at 03:00 AM
|
||||
dates = "03:00";
|
||||
# Keep only the latest generations (safety net for rollbacks)
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue