correctly disable sudo

This commit is contained in:
Moritz Böhme 2022-03-23 12:36:59 +01:00
parent f206d828e6
commit 82df340d59
No known key found for this signature in database
GPG key ID: 213820E2795F5CF5

View file

@ -75,7 +75,7 @@
} }
]; ];
}; };
security.sudo.enable = lib.mkDefault (!config.security.doas.enable); security.sudo.enable = !config.security.doas.enable;
# Disable ssh password login # Disable ssh password login
services.openssh.passwordAuthentication = lib.mkDefault false; services.openssh.passwordAuthentication = lib.mkDefault false;