mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-23 07:03:07 +01:00
44 lines
818 B
Nix
44 lines
818 B
Nix
{
|
|
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"
|
|
];
|
|
shell = pkgs.bash;
|
|
ignoreShellProgramCheck = true;
|
|
packages = with pkgs; [
|
|
obs-studio
|
|
zeroad
|
|
blender-hip
|
|
];
|
|
};
|
|
# "newuser" = {
|
|
# homeMode = "755";
|
|
# isNormalUser = true;
|
|
# description = "New user account";
|
|
# extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
|
# shell = pkgs.bash;
|
|
# ignoreShellProgramCheck = true;
|
|
# packages = with pkgs; [];
|
|
# };
|
|
};
|
|
}
|