[durruti] fix wiping of hosts /nix/store
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 8m41s
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 8m41s
the automatic garbage collection of durruti - which runs inside a nixos-container - complelty wiped the hosts nix store making basically all the services fail and the machine unbootable.
This commit is contained in:
@@ -100,11 +100,12 @@ in
|
||||
nix = {
|
||||
# Show a diff when activating a new system except for microvms which handle this seperately
|
||||
#diffSystem = config.malobeo.deployment.server or "" == "";
|
||||
gc = lib.mkIf config.malobeo.autoUpdate.enable {
|
||||
automatic = true;
|
||||
randomizedDelaySec = "6h";
|
||||
options = "--delete-older-than 21d";
|
||||
};
|
||||
#TODO: THIS WIPES HOSTS NIX STORE FROM WITHIN NIXOS-CONTAINER
|
||||
#gc = lib.mkIf config.malobeo.autoUpdate.enable {
|
||||
# automatic = true;
|
||||
# randomizedDelaySec = "6h";
|
||||
# options = "--delete-older-than 21d";
|
||||
#};
|
||||
};
|
||||
|
||||
environment.systemPackages = [ (
|
||||
|
||||
Reference in New Issue
Block a user