summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index 65f00fc8..1fd59bbc 100644
--- a/hel.nix
+++ b/hel.nix
@@ -307,12 +307,15 @@
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 308
309 systemd.services."slimlock@" = { 309 systemd.services."slimlock@" = {
310 wantedBy = [ "sleep.target" ];
311 serviceConfig = { 310 serviceConfig = {
312 Type = "simple"; 311 Type = "simple";
313 User = "%I"; 312 User = "%I";
314 ExecStart = "${pkgs.slim}/bin/slimlock"; 313 ExecStart = "${pkgs.slim}/bin/slimlock";
315 }; 314 };
316 }; 315 };
316 systemd.targets."sleep" = {
317 after = "slimlock@gkleen.service";
318 wants = "slimlock@gkleen.service";
319 };
317} 320}
318 321