feat(darwin): enable sudo auth with touchid

This commit is contained in:
Mohammad Rafiq 2025-07-14 18:57:24 +08:00
parent ba4f32c4f9
commit fba46e0d0d
No known key found for this signature in database

View file

@ -8,4 +8,9 @@ in
nix.settings.trusted-users = [ "@wheel" ];
users.users.${cfg.admin.username}.extraGroups = [ "wheel" ];
};
flake.modules.darwin.default.security.pam.services.sudo_local = {
enable = true;
reattach = true;
touchIdAuth = true;
};
}