1
0
Fork 0
forked from foxora/nix
flake-foxora/groups/servers/default.nix

17 lines
294 B
Nix

{ ... }: {
nix.settings = {
trusted-users = ["root" "@wheel"];
};
security = {
sudo = {
enable = true;
wheelNeedsPassword = true;
};
pam = {
sshAgentAuth.enable = true;
services.sudo.sshAgentAuth = true; # pam_ssh_agent_auth module
};
};
}