Gitiles
Code Review
Sign In
git.clicks.codes
/
Coded
/
nixConfig
/
ed2a336086a63c6fad521ff1efe13ca82e3309bb
/
.
/
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"
];
}];
}
];
}