summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix15
1 files changed, 0 insertions, 15 deletions
diff --git a/hel.nix b/hel.nix
index 718ddf53..c5485c15 100644
--- a/hel.nix
+++ b/hel.nix
@@ -343,21 +343,6 @@
343 environment.etc."sane.d/dll.conf".text = "xerox_mfp"; 343 environment.etc."sane.d/dll.conf".text = "xerox_mfp";
344 environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; 344 environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil";
345 345
346 systemd.services."slimlock@" = {
347 environment = config.systemd.services."display-manager".environment;
348 serviceConfig = {
349 Type = "simple";
350 User = "%I";
351 ExecStart = "${pkgs.slim}/bin/slimlock";
352 ExecStartPre = "${pkgs.psmisc}/bin/killall -SIGUSR1 dunst";
353 ExecStopPost = "${pkgs.psmisc}/bin/killall -SIGUSR2 dunst";
354 };
355 };
356 systemd.targets."sleep" = {
357 after = [ "slimlock@gkleen.service" ];
358 wants = [ "slimlock@gkleen.service" ];
359 };
360
361 systemd.services."kill-user@" = { 346 systemd.services."kill-user@" = {
362 serviceConfig = { 347 serviceConfig = {
363 Type = "oneshot"; 348 Type = "oneshot";