Users Leaf
cells/core/users.nix creates the primary user from my.user.name and attaches it to the base branch.
Up: core leaves
Down: core options | system persistence
What this leaf does
It declares password-file paths, sets the default shell, marks the user as normal, assigns common groups, and installs a small set of user packages.
let
user = config.my.user.name;
in {
users.users.${user} = {
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" "video" "audio" "networkmanager" ];
};
}Why it belongs to base
An interactive system needs a normal user before desktop or shell configuration becomes useful. The leaf depends on my.user.name, so changing the username in one option updates multiple leaves.
Privacy note
Public docs should use placeholder usernames and avoid copying real password-file layouts if those paths reveal personal machine organization.