diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-05-30 14:29:38 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-05-30 14:29:38 +0200 |
commit | 3dc72162d5f92e2c6c605682353ba6ce108d38d2 (patch) | |
tree | e8ce1bf34a37558b880e17bc4dd43ce59e44f979 /hel.nix | |
parent | 4767c7fe609c8e43ece8f369cf9a4ba29d7253fc (diff) | |
download | nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar.gz nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar.bz2 nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar.xz nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.zip |
Use terminate-user to _really_ kill uucp
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -456,15 +456,15 @@ | |||
456 | environment.etc."sane.d/dll.conf".text = "xerox_mfp"; | 456 | environment.etc."sane.d/dll.conf".text = "xerox_mfp"; |
457 | environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; | 457 | environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; |
458 | 458 | ||
459 | systemd.services."kill-user@" = { | 459 | systemd.services."terminate-user@" = { |
460 | serviceConfig = { | 460 | serviceConfig = { |
461 | Type = "oneshot"; | 461 | Type = "oneshot"; |
462 | ExecStart = "${pkgs.systemd}/bin/loginctl kill-user %I"; | 462 | ExecStart = "${pkgs.systemd}/bin/loginctl terminate-user %I"; |
463 | }; | 463 | }; |
464 | }; | 464 | }; |
465 | systemd.targets."sleep" = { | 465 | systemd.targets."sleep" = { |
466 | after = [ "kill-user@uucp.service" ]; | 466 | after = [ "terminate-user@uucp.service" ]; |
467 | wants = [ "kill-user@uucp.service" ]; | 467 | wants = [ "terminate-user@uucp.service" ]; |
468 | }; | 468 | }; |
469 | 469 | ||
470 | virtualisation.virtualbox.host = { | 470 | virtualisation.virtualbox.host = { |