1
0
Fork 0

nix-daemon: restart worker processes when restarting daemon

This helps to clean up stale build processes more easily.
This commit is contained in:
Sandro - 2023-01-18 20:51:38 +01:00
parent b05d8ca7c2
commit dd8103823c
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 0 deletions

View File

@ -176,6 +176,8 @@
# Do not break the boot
enableEmergencyMode = false;
services.nix-daemon.serviceConfig.KillMode = "control-group";
tmpfiles.rules = [
# never leave openssh in a state that you cannot log in
"d /etc 0755 root root -"