# Breaking Changes - sops location movod to "system/dev/<dev-name>/sops/sops-conf.nix" - flake devices declaration changes - whole flake update
24 lines
385 B
Nix
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 [ ])
|
|
);
|
|
};
|
|
}
|