nix/lock: don't check empty password

This commit is contained in:
Dmitriy Pleshevskiy 2022-08-29 00:04:45 +03:00
parent f1bcf6fc0c
commit e2ac4697eb
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@ in
config = mkIf cfg.enable {
services.betterlockscreen = {
enable = true;
arguments = [ "--" "-e" ];
inactiveInterval = 15;
};

View file

@ -290,7 +290,7 @@ myKeys conf = mkKeymap conf $
-- Lock screen
, ("M4-l", spawn "betterlockscreen --lock")
, ("M4-l", spawn "betterlockscreen --lock -- -e")
-- Change volume
, ("<XF86AudioMute>", spawn "amixer -q sset Master toggle")