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"
|
2024-05-14 21:01:31 +02:00
|
|
|
"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; [];
|
|
|
|
# };
|
|
|
|
};
|
|
|
|
}
|