blob: e14fd8c29b32c6df9eeeb5ed016b0ffc4601ee6e [file] [log] [blame]
Samuel Shuertf1d6e992023-11-24 17:28:33 -05001{
2 security.pam.services = {
3 login.u2fAuth = true;
4 sudo.u2fAuth = true;
5 };
6
7 security.pam.u2f.authFile = ../keys/u2f_mappings;
Samuel Shuerted2a3362024-01-25 21:56:10 -05008
9 security.sudo.extraRules = [
10 {
11 users = [ "minion" ];
12 commands = [{ command = "ALL"; options = [ "NOPASSWD" ]; }];
13 }
14 ];
Samuel Shuertf1d6e992023-11-24 17:28:33 -050015}