diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-06 17:35:36 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-06 17:35:36 +0200 |
commit | 6a52d98edf3c220255a6bb7ef609dbbcc71727fe (patch) | |
tree | 00beff85291e677457193efea3f00d57af0e60f4 | |
parent | 0e4a3eaac8ec0af33963e97a1b6ba1a941649762 (diff) | |
download | nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar.gz nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar.bz2 nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar.xz nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.zip |
slimlock service replaced by xss-lock
-rw-r--r-- | hel.nix | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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"; |