From 062302e006dfdeefe88389d251ece488ad5d0086 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 21 May 2020 10:33:37 +0200 Subject: [PATCH] nixos/xautolock: always run systemctl of the currently running systemd --- nixos/modules/services/x11/xautolock.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/xautolock.nix b/nixos/modules/services/x11/xautolock.nix index 3e03131ca114..5ce08fce7c43 100644 --- a/nixos/modules/services/x11/xautolock.nix +++ b/nixos/modules/services/x11/xautolock.nix @@ -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 = ''