feat(modules/system/users): disable sudo auth

This commit is contained in:
Mohammad Rafiq 2025-05-19 10:01:20 +08:00
parent c73533772b
commit d13962a7d9
No known key found for this signature in database

View file

@ -16,6 +16,7 @@
openssh.authorizedKeys.keys = [ config.system.mainUser.publicKey ]; openssh.authorizedKeys.keys = [ config.system.mainUser.publicKey ];
}; };
services.getty.autologinUser = config.system.mainUser.name; services.getty.autologinUser = config.system.mainUser.name;
security.sudo.wheelNeedsPassword = false;
} }
]; ];
} }