nix-conf/system/modules/users.nix
danny 6a71b601f5 update: system update & refactor
# Breaking Changes
- sops location movod to "system/dev/<dev-name>/sops/sops-conf.nix"
- flake devices declaration changes
- whole flake update
2025-10-14 16:49:03 +08:00

24 lines
385 B
Nix

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