mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
16 lines
268 B
Nix
16 lines
268 B
Nix
_:
|
|
{
|
|
|
|
security.pam.services = {
|
|
login.u2fAuth = true;
|
|
sudo.u2fAuth = true;
|
|
swaylock.u2fAuth = true;
|
|
swaylock.fprintAuth = false;
|
|
};
|
|
security.polkit.enable = true;
|
|
|
|
security.sudo.extraConfig = ''
|
|
Defaults env_keep+=SSH_AUTH_SOCK
|
|
'';
|
|
|
|
}
|