forked from kalipso/infrastructure
[durruti] fix wiping of hosts /nix/store
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 = {
|
nix = {
|
||||||
# Show a diff when activating a new system except for microvms which handle this seperately
|
# Show a diff when activating a new system except for microvms which handle this seperately
|
||||||
#diffSystem = config.malobeo.deployment.server or "" == "";
|
#diffSystem = config.malobeo.deployment.server or "" == "";
|
||||||
gc = lib.mkIf config.malobeo.autoUpdate.enable {
|
#TODO: THIS WIPES HOSTS NIX STORE FROM WITHIN NIXOS-CONTAINER
|
||||||
automatic = true;
|
#gc = lib.mkIf config.malobeo.autoUpdate.enable {
|
||||||
randomizedDelaySec = "6h";
|
# automatic = true;
|
||||||
options = "--delete-older-than 21d";
|
# randomizedDelaySec = "6h";
|
||||||
};
|
# options = "--delete-older-than 21d";
|
||||||
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ (
|
environment.systemPackages = [ (
|
||||||
|
|||||||
Reference in New Issue
Block a user