diff --git a/nixosConfigurations/muede-lpt2/default.nix b/nixosConfigurations/muede-lpt2/default.nix index 6cc5934..2f5e949 100644 --- a/nixosConfigurations/muede-lpt2/default.nix +++ b/nixosConfigurations/muede-lpt2/default.nix @@ -67,6 +67,10 @@ path = self.nixosConfigurations.damocles.config.system.build.toplevel; }; + # Global DefaultTimeoutStopSec is 10s (modern-desktop.nix), which kills systemd-nspawn + # before it finishes halting, leaving cgroups busy and breaking restarts. + systemd.services."container@damocles".serviceConfig.TimeoutStopSec = "60s"; + boot.enableContainers = true; virtualisation.containers.enable = true; };