summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index 89b39708..718ddf53 100644
--- a/hel.nix
+++ b/hel.nix
@@ -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 };