modules/desktop: doas authentication with fingerprint
This commit is contained in:
parent
1a9e370bad
commit
ff575b896f
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue