diff options
Diffstat (limited to 'hel.nix')
-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 | ||