2024-05-19 17:10:01 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
username,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
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;
|
2024-06-01 05:42:02 +02:00
|
|
|
packages = with pkgs; [
|
|
|
|
];
|
2024-05-19 17:10:01 +02:00
|
|
|
};
|
|
|
|
# "newuser" = {
|
|
|
|
# homeMode = "755";
|
|
|
|
# isNormalUser = true;
|
|
|
|
# description = "New user account";
|
|
|
|
# extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
|
|
|
# shell = pkgs.bash;
|
|
|
|
# ignoreShellProgramCheck = true;
|
|
|
|
# packages = with pkgs; [];
|
|
|
|
# };
|
|
|
|
};
|
|
|
|
}
|