git.iko.soy/typeable/nixpkgs
on master help sign in
systemd: Set KillUserProcesses=no in logind.conf

Full discussion at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825394 NixOS is even more of a server OS than Debian, and I can think of no reason to make users jump through this sort of hoop.

commit93c160fabc0e3b5fb3d997c840ef86a68f4bce00 authorSvein Ove Aas <sveina@gmail.com> dateMon 6 Jun 2016, 11:51 (10 years ago) parentfbde3a7
1 file changed+1
nixos/modules/system/boot/systemd.nix+1
nixos/modules/system/boot/systemd.nix+1
@@ -669,6 +669,7 @@ in
669669
670670 "systemd/logind.conf".text = ''
671671 [Login]
672+ KillUserProcesses=no
672673 ${config.services.logind.extraConfig}
673674 '';
674675