snowfallorg / snowfallorg/lib

Snowfall-Lib makes all users admins by default.

Open
#107 6 comments 3 reactions 0 assignees View on GitHub

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?

  1. Don't default users to being admins and therefore part of wheel and therefore full sudo access to the system without someone realizing it.
  2. Document this modules/nixos/user/default.nix module?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.