nixos/xss-lock: specify a default locker

Having a default locker is less error-prone and more convenient.
Incorrect values might leave the machine vulnerable since there is no
fallback.
This commit is contained in:
Jörg Thalheim
2019-01-05 16:42:30 +01:00
parent 82e204382f
commit 2614c8a6c5
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ in
options.programs.xss-lock = {
enable = mkEnableOption "xss-lock";
lockerCommand = mkOption {
example = "xlock";
default = "${pkgs.i3lock}/bin/i3lock";
example = literalExample ''''${pkgs.i3lock-fancy}/bin/i3lock-fancy'';
type = types.string;
description = "Locker to be used with xsslock";
};