diff options
| -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."terminate-user@" = { | 459 | systemd.services."kill-user@" = { |
| 460 | serviceConfig = { | 460 | serviceConfig = { |
| 461 | Type = "oneshot"; | 461 | Type = "oneshot"; |
| 462 | ExecStart = "${pkgs.systemd}/bin/loginctl terminate-user %I"; | 462 | ExecStart = "${pkgs.systemd}/bin/loginctl kill-user %I"; |
| 463 | }; | 463 | }; |
| 464 | }; | 464 | }; |
| 465 | systemd.targets."sleep" = { | 465 | systemd.targets."sleep" = { |
| 466 | after = [ "terminate-user@uucp.service" ]; | 466 | after = [ "kill-user@uucp.service" ]; |
| 467 | wants = [ "terminate-user@uucp.service" ]; | 467 | wants = [ "kill-user@uucp.service" ]; |
| 468 | }; | 468 | }; |
| 469 | 469 | ||
| 470 | virtualisation.virtualbox.host = { | 470 | virtualisation.virtualbox.host = { |
