about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-20 14:54:03 +0200
committerGitHub <noreply@github.com>2016-06-20 14:54:03 +0200
commitd0b2524633ffd02f1245d71d650c40e6fe45ee15 (patch)
tree0fdbbb4538a9d5ae682d7c0d7b3c4306649b6529 /nixos
parent06489a18507ad43d48bcba9c6147042e2e0d18dd (diff)
parent93c160fabc0e3b5fb3d997c840ef86a68f4bce00 (diff)
downloadnixlib-d0b2524633ffd02f1245d71d650c40e6fe45ee15.tar
nixlib-d0b2524633ffd02f1245d71d650c40e6fe45ee15.tar.gz
nixlib-d0b2524633ffd02f1245d71d650c40e6fe45ee15.tar.bz2
nixlib-d0b2524633ffd02f1245d71d650c40e6fe45ee15.tar.lz
nixlib-d0b2524633ffd02f1245d71d650c40e6fe45ee15.tar.xz
nixlib-d0b2524633ffd02f1245d71d650c40e6fe45ee15.tar.zst
nixlib-d0b2524633ffd02f1245d71d650c40e6fe45ee15.zip
Merge pull request #16021 from Baughn/systemd-linger
systemd: Set KillUserProcesses=no in logind.conf
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 076bbca850d9..3d8f29c80f95 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -669,6 +669,7 @@ in
 
       "systemd/logind.conf".text = ''
         [Login]
+        KillUserProcesses=no
         ${config.services.logind.extraConfig}
       '';