Skip to content

Commit 062302e

Browse files
committed
nixos/xautolock: always run systemctl of the currently running systemd
1 parent de358a0 commit 062302e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/services/x11/xautolock.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ in
6666

6767
killer = mkOption {
6868
default = null; # default according to `man xautolock` is none
69-
example = "${pkgs.systemd}/bin/systemctl suspend";
69+
example = "/run/current-system/systemd/bin/systemctl suspend";
7070
type = types.nullOr types.str;
7171

7272
description = ''

0 commit comments

Comments
 (0)