Snowfall-Lib makes all users admins by default.
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 628
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
I just solved a mystery that's been plaguing me for a little while: For some reason a user I don't want to be an admin was being put in the wheel group despite that not being set in extraGroups... and I discovered snowfall-lib has a module for users (That I don't see in the documentation.) that defaults users to admins and puts them into wheel.
May I make a couple suggestions?
- Don't default users to being admins and therefore part of wheel and therefore full sudo access to the system without someone realizing it.
- Document this modules/nixos/user/default.nix module?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting modules/nixos/user/default.nix, where the user module is reported to default users to the wheel group, then check the repository’s existing documentation structure. Confirm the current default behavior and identify the documentation location. Done means the default no longer grants admin access unexpectedly and the module’s behavior is documented.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100