diff options
| -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"; |
