Fix sudo config
This commit is contained in:
parent
5faf6cb79d
commit
1292bde8eb
4 changed files with 4 additions and 2 deletions
|
@ -39,6 +39,8 @@
|
|||
nameservers = [ "10.0.0.254" ];
|
||||
};
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
};
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
security.pam.enableSSHAgentAuth = true;
|
||||
|
||||
# services.openssh.enable = true;
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
};
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
security.pam.enableSSHAgentAuth = true;
|
||||
|
||||
# services.openssh.enable = true;
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
|
||||
services.openssh.enable = true;
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
sops.secrets = { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue