damocles: longer timeout to prevent namespace breakage
This commit is contained in:
parent
ad0844356f
commit
3c8024045e
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue