nix-conf/system/modules/users.nix
2025-08-09 22:22:19 +08:00

23 lines
351 B
Nix

{
pkgs,
config,
username,
...
}:
{
users.users.${username} = {
isNormalUser = true;
shell = pkgs.bash; # Actually fish
extraGroups = (
[
"wheel"
"input"
"networkmanager"
"docker"
"kvm"
]
++ (if config.programs.gamemode.enable then [ "gamemode" ] else [ ])
);
};
}