diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-05 16:00:28 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-05 16:00:28 +0200 |
commit | ba7544f02e1943b0149cc789ec532c5064ddf8de (patch) | |
tree | 7570ebe5541de97004c3fe6f09701d8d9e3efd99 | |
parent | fed3e75f8b8448fcfed99bbafec479277b8be364 (diff) | |
download | nixos-ba7544f02e1943b0149cc789ec532c5064ddf8de.tar nixos-ba7544f02e1943b0149cc789ec532c5064ddf8de.tar.gz nixos-ba7544f02e1943b0149cc789ec532c5064ddf8de.tar.bz2 nixos-ba7544f02e1943b0149cc789ec532c5064ddf8de.tar.xz nixos-ba7544f02e1943b0149cc789ec532c5064ddf8de.zip |
per-user slimlock service
-rw-r--r-- | hel.nix | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -305,5 +305,14 @@ | |||
305 | 305 | ||
306 | environment.etc."sane.d/dll.conf".text = "xerox_mfp"; | 306 | environment.etc."sane.d/dll.conf".text = "xerox_mfp"; |
307 | environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; | 307 | environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; |
308 | |||
309 | systemd.services."slimlock" = { | ||
310 | wantedBy = [ "sleep.target" ]; | ||
311 | serviceConfig = { | ||
312 | Type = "simple"; | ||
313 | User = "%I"; | ||
314 | ExecStart = "${pkgs.slim}/bin/slimlock"; | ||
315 | }; | ||
316 | }; | ||
308 | } | 317 | } |
309 | 318 | ||