summary refs log tree commit diff
path: root/nixos/modules/programs/xss-lock.nix
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2021-10-04 20:37:42 +0200
committerGitHub <noreply@github.com>2021-10-04 20:37:42 +0200
commit0699530f08290f34c532beedd66046825d9756fa (patch)
tree39cdee36907d66f698eebe8a377b3e1a4984eeee /nixos/modules/programs/xss-lock.nix
parent63df91f789fd973ece46ad9547f6a72ea7dfb231 (diff)
parent2ddc335e6f32b875e14ad9610101325b306a0add (diff)
Merge pull request #136909 from ncfavier/cleanup-defaults-examples
nixos/doc: clean up defaults and examples
Diffstat (limited to 'nixos/modules/programs/xss-lock.nix')
-rw-r--r--nixos/modules/programs/xss-lock.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/programs/xss-lock.nix b/nixos/modules/programs/xss-lock.nix
index ceb7259b3d779..aba76133e5e33 100644
--- a/nixos/modules/programs/xss-lock.nix
+++ b/nixos/modules/programs/xss-lock.nix
@@ -11,7 +11,8 @@ in
 
     lockerCommand = mkOption {
       default = "${pkgs.i3lock}/bin/i3lock";
-      example = literalExample "\${pkgs.i3lock-fancy}/bin/i3lock-fancy";
+      defaultText = literalExpression ''"''${pkgs.i3lock}/bin/i3lock"'';
+      example = literalExpression ''"''${pkgs.i3lock-fancy}/bin/i3lock-fancy"'';
       type = types.separatedString " ";
       description = "Locker to be used with xsslock";
     };