diff options
-rw-r--r-- | hel.nix | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -358,6 +358,17 @@ | |||
358 | wants = [ "slimlock@gkleen.service" ]; | 358 | wants = [ "slimlock@gkleen.service" ]; |
359 | }; | 359 | }; |
360 | 360 | ||
361 | systemd.services."kill-user@" = { | ||
362 | serviceConfig = { | ||
363 | Type = "oneshot"; | ||
364 | ExecStart = "${pkgs.systemd}/bin/loginctl kill-user %I"; | ||
365 | }; | ||
366 | }; | ||
367 | systemd.targets."sleep" = { | ||
368 | after = [ "kill-user@uucp.service" ]; | ||
369 | wants = [ "kill-user@uucp.service" ]; | ||
370 | }; | ||
371 | |||
361 | virtualisation.virtualbox.host = { | 372 | virtualisation.virtualbox.host = { |
362 | enable = true; | 373 | enable = true; |
363 | }; | 374 | }; |