fix(ops/machines/*): fix leftover usages of depot.automatic-gc

This was missed, due to #80.

Change-Id: I3b10fa615c09fdd9887c63c847cfd70f5a80d277
Reviewed-on: https://cl.snix.dev/c/snix/+/30346
Tested-by: besadii
Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
Autosubmit: Florian Klink <flokli@flokli.de>
This commit is contained in:
Florian Klink 2025-04-30 20:52:08 +03:00 committed by clbot
parent 088296c52c
commit b2fa87f344
3 changed files with 3 additions and 26 deletions

View file

@ -47,15 +47,7 @@ in
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
}; };
}; };
nix.gc.automatic = true;
# Automatically collect garbage from the Nix store.
services.depot.automatic-gc = {
enable = true;
interval = "daily";
diskThreshold = 5; # GiB
maxFreed = 3; # GiB
preserveGenerations = "30d";
};
age.secrets = age.secrets =
let let

View file

@ -48,15 +48,7 @@ in
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
}; };
}; };
nix.gc.automatic = true;
# Automatically collect garbage from the Nix store.
services.depot.automatic-gc = {
enable = true;
interval = "daily";
diskThreshold = 5; # GiB
maxFreed = 3; # GiB
preserveGenerations = "30d";
};
services.depot = { services.depot = {
# TODO: make it possible to do `alertmanager.enable = true;` # TODO: make it possible to do `alertmanager.enable = true;`

View file

@ -49,16 +49,9 @@ in
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
}; };
}; };
nix.gc.automatic = true;
services.depot = { services.depot = {
# Automatically collect garbage from the Nix store.
automatic-gc = {
enable = true;
interval = "daily";
diskThreshold = 5; # GiB
maxFreed = 3; # GiB
preserveGenerations = "30d";
};
forgejo = { forgejo = {
enable = true; enable = true;
domain = "git.snix.dev"; domain = "git.snix.dev";