forked from tuxcord/tuxcord.nix
28 lines
434 B
Nix
28 lines
434 B
Nix
{ pkgs, ... }:
|
|
{
|
|
users.users =
|
|
let
|
|
adminGroups = [
|
|
"adm"
|
|
"named"
|
|
"networkmanager"
|
|
"nginx"
|
|
"tuxcord"
|
|
"wheel"
|
|
];
|
|
in
|
|
{
|
|
error = {
|
|
isNormalUser = true;
|
|
shell = pkgs.fish;
|
|
extraGroups = adminGroups;
|
|
};
|
|
|
|
javalsai = {
|
|
isNormalUser = true;
|
|
shell = pkgs.zsh;
|
|
extraGroups = adminGroups;
|
|
};
|
|
};
|
|
}
|