home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b11729fb4599da931eb8a4236496c0e51060186a
parent 78aee1968fa33d935a72c701671cc7bcdb0c5e8a
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 26 Mar 2019 17:56:21 +0100

desktop: fix screen-locker xss-lock command-line

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/desktop.nix | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix @@ -22,7 +22,7 @@ in type = types.bool; }; lockCmd = mkOption { - default = "-n ${dim-screen} -- ${pkgs.slim}/bin/slimlock"; + default = "{pkgs.slim}/bin/slimlock"; description = "Lock command to use"; type = types.str; }; @@ -78,6 +78,7 @@ in }; screen-locker = { enable = true; + xssLockExtraOptions = [ "-n ${dim-screen}" ]; lockCmd = cfg.lockCmd; inactiveInterval = 15; };