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