summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-06 17:35:36 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-06 17:35:36 +0200
commit6a52d98edf3c220255a6bb7ef609dbbcc71727fe (patch)
tree00beff85291e677457193efea3f00d57af0e60f4 /hel.nix
parent0e4a3eaac8ec0af33963e97a1b6ba1a941649762 (diff)
downloadnixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar
nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar.gz
nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar.bz2
nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.tar.xz
nixos-6a52d98edf3c220255a6bb7ef609dbbcc71727fe.zip
slimlock service replaced by xss-lock
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";