Sudo with insults
This commit is contained in:
parent
b1725c7a22
commit
b0d0ebacc9
@ -194,11 +194,17 @@ inputs:
|
||||
};
|
||||
};
|
||||
|
||||
security = {
|
||||
# generate login settings
|
||||
# ykman otp chalresp --touch --generate 2
|
||||
security.pam.yubico = {
|
||||
pam.yubico = {
|
||||
enable = true;
|
||||
# debug = true;
|
||||
mode = "challenge-response";
|
||||
};
|
||||
sudo = {
|
||||
package = pkgs.sudo.override { withInsults = true; };
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user