zaneyos/hosts/familypc/users.nix

40 lines
776 B
Nix
Raw Normal View History

2024-05-14 08:44:34 +02:00
{
pkgs,
config,
username,
host,
...
}:
let
inherit (import ./variables.nix) gitUsername;
in
{
users.users = {
"${username}" = {
homeMode = "755";
isNormalUser = true;
description = "${gitUsername}";
extraGroups = [
"networkmanager"
"wheel"
"libvirtd"
"scanner"
"lp"
2024-05-14 08:44:34 +02:00
];
shell = pkgs.bash;
ignoreShellProgramCheck = true;
2024-05-15 01:31:08 +02:00
packages = with pkgs; [ obs-studio zeroad ];
2024-05-14 08:44:34 +02:00
};
# "newuser" = {
# homeMode = "755";
# isNormalUser = true;
# description = "New user account";
# extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
# shell = pkgs.bash;
# ignoreShellProgramCheck = true;
# packages = with pkgs; [];
# };
};
}