summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-05-30 14:29:38 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-05-30 14:29:38 +0200
commit3dc72162d5f92e2c6c605682353ba6ce108d38d2 (patch)
treee8ce1bf34a37558b880e17bc4dd43ce59e44f979
parent4767c7fe609c8e43ece8f369cf9a4ba29d7253fc (diff)
downloadnixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar
nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar.gz
nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar.bz2
nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.tar.xz
nixos-3dc72162d5f92e2c6c605682353ba6ce108d38d2.zip
Use terminate-user to _really_ kill uucp
-rw-r--r--hel.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/hel.nix b/hel.nix
index 814c2cc2..bc6fecc3 100644
--- a/hel.nix
+++ b/hel.nix
@@ -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 = {