correctly disable sudo

dev-docs
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
1 changed files with 1 additions and 1 deletions

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
services.openssh.passwordAuthentication = lib.mkDefault false;