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:
parent
088296c52c
commit
b2fa87f344
3 changed files with 3 additions and 26 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;`
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue