damocles: longer timeout to prevent namespace breakage

This commit is contained in:
müde 2026-04-17 12:39:45 +02:00
parent ad0844356f
commit 3c8024045e

View file

@ -67,6 +67,10 @@
path = self.nixosConfigurations.damocles.config.system.build.toplevel; 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; boot.enableContainers = true;
virtualisation.containers.enable = true; virtualisation.containers.enable = true;
}; };