Fix sudo config

This commit is contained in:
Erwin Boskma 2023-01-31 17:00:01 +01:00
parent 5faf6cb79d
commit 1292bde8eb
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
4 changed files with 4 additions and 2 deletions

View file

@ -39,6 +39,8 @@
nameservers = [ "10.0.0.254" ];
};
security.sudo.execWheelOnly = true;
services.openssh.enable = true;
sops.defaultSopsFile = ./secrets.yaml;

View file

@ -41,7 +41,6 @@
};
security.sudo.execWheelOnly = true;
security.pam.enableSSHAgentAuth = true;
# services.openssh.enable = true;

View file

@ -45,7 +45,6 @@
};
security.sudo.execWheelOnly = true;
security.pam.enableSSHAgentAuth = true;
# services.openssh.enable = true;

View file

@ -41,6 +41,8 @@
services.openssh.enable = true;
security.sudo.execWheelOnly = true;
sops.defaultSopsFile = ./secrets.yaml;
sops.secrets = { };