Sudo with insults

This commit is contained in:
Valentin Brandl 2023-10-29 10:06:16 +01:00
parent b1725c7a22
commit b0d0ebacc9
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -194,11 +194,17 @@ inputs:
};
};
# generate login settings
# ykman otp chalresp --touch --generate 2
security.pam.yubico = {
enable = true;
# debug = true;
mode = "challenge-response";
security = {
# generate login settings
# ykman otp chalresp --touch --generate 2
pam.yubico = {
enable = true;
# debug = true;
mode = "challenge-response";
};
sudo = {
package = pkgs.sudo.override { withInsults = true; };
};
};
}