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:
}; };
}; };
security = {
# generate login settings # generate login settings
# ykman otp chalresp --touch --generate 2 # ykman otp chalresp --touch --generate 2
security.pam.yubico = { pam.yubico = {
enable = true; enable = true;
# debug = true; # debug = true;
mode = "challenge-response"; mode = "challenge-response";
}; };
sudo = {
package = pkgs.sudo.override { withInsults = true; };
};
};
} }