zaneyos/hosts/familypc/users.nix

44 lines
818 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;
packages = with pkgs; [
obs-studio
zeroad
2024-05-15 02:46:02 +02:00
blender-hip
];
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; [];
# };
};
}