Gitiles
Code Review
Sign In
git.clicks.codes
/
Coded
/
nixConfig
/
refs/heads/old
/
.
/
modules
/
security.nix
blob: e14fd8c29b32c6df9eeeb5ed016b0ffc4601ee6e [
file
] [
log
] [
blame
]
{
security
.
pam
.
services
=
{
login
.
u2fAuth
=
true
;
sudo
.
u2fAuth
=
true
;
};
security
.
pam
.
u2f
.
authFile
=
../
keys
/
u2f_mappings
;
security
.
sudo
.
extraRules
=
[
{
users
=
[
"minion"
];
commands
=
[{
command
=
"ALL"
;
options
=
[
"NOPASSWD"
];
}];
}
];
}