diff --git a/machines/common.nix b/machines/common.nix index 7207943..2494523 100644 --- a/machines/common.nix +++ b/machines/common.nix @@ -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; }; + }; }; + }