diff --git a/nixos/ssh.nix b/nixos/ssh.nix index 02f3a0d..6f7dc6c 100644 --- a/nixos/ssh.nix +++ b/nixos/ssh.nix @@ -10,8 +10,14 @@ }; users.users.${primaryUser}.openssh.authorizedKeys.keyFiles = [ ../secrets/ssh-key ]; programs.ssh.startAgent = true; - security.doas = { - enable = true; - wheelNeedsPassword = false; + security = { + sudo = { + enable = true; + wheelNeedsPassword = false; + }; + doas = { + enable = true; + wheelNeedsPassword = false; + }; }; }