feat(darwin): enable sudo auth with touchid
This commit is contained in:
parent
ba4f32c4f9
commit
fba46e0d0d
1 changed files with 5 additions and 0 deletions
|
@ -8,4 +8,9 @@ in
|
||||||
nix.settings.trusted-users = [ "@wheel" ];
|
nix.settings.trusted-users = [ "@wheel" ];
|
||||||
users.users.${cfg.admin.username}.extraGroups = [ "wheel" ];
|
users.users.${cfg.admin.username}.extraGroups = [ "wheel" ];
|
||||||
};
|
};
|
||||||
|
flake.modules.darwin.default.security.pam.services.sudo_local = {
|
||||||
|
enable = true;
|
||||||
|
reattach = true;
|
||||||
|
touchIdAuth = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue