nixos/xautolock: always run systemctl of the currently running systemd

This commit is contained in:
Florian Klink 2020-05-21 10:33:37 +02:00
parent de358a00b5
commit 062302e006

View file

@ -66,7 +66,7 @@ in
killer = mkOption {
default = null; # default according to `man xautolock` is none
example = "${pkgs.systemd}/bin/systemctl suspend";
example = "/run/current-system/systemd/bin/systemctl suspend";
type = types.nullOr types.str;
description = ''