modules/desktop: doas authentication with fingerprint

This commit is contained in:
Max Headroom 2022-08-30 00:20:40 +02:00
parent 1a9e370bad
commit ff575b896f

View file

@ -43,9 +43,10 @@ in {
security = {
sudo.enable = false;
doas.enable = true;
doas.extraRules = [{
doas.extraRules = lib.mkForce [ rec {
groups = [ "wheel" ];
noPass = true;
noPass = !config.services.fprintd.enable;
persist = !noPass;
}];
};