From 3c8024045e46a53374aacc1c312d3f48a29629a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Fri, 17 Apr 2026 12:39:45 +0200 Subject: [PATCH] damocles: longer timeout to prevent namespace breakage --- nixosConfigurations/muede-lpt2/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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; };