commit | ed2a336086a63c6fad521ff1efe13ca82e3309bb | [log] [tgz] |
---|---|---|
author | Samuel Shuert <coded@clicks.codes> | Thu Jan 25 21:56:10 2024 -0500 |
committer | Samuel Shuert <coded@clicks.codes> | Thu Jan 25 21:56:56 2024 -0500 |
tree | b00bc3f72ad6cf94d128853f9702e1549a79c044 | |
parent | f6c41b591c100b88798ae7a992360b37b3075b50 [diff] [blame] |
Many things Change-Id: I147b761e6ba157e77bb374c3e0191533a03a92a3
diff --git a/modules/security.nix b/modules/security.nix index 2ed9cc3..e14fd8c 100644 --- a/modules/security.nix +++ b/modules/security.nix
@@ -5,4 +5,11 @@ }; security.pam.u2f.authFile = ../keys/u2f_mappings; + + security.sudo.extraRules = [ + { + users = [ "minion" ]; + commands = [{ command = "ALL"; options = [ "NOPASSWD" ]; }]; + } + ]; }