First Commit

This commit is contained in:
2026-01-05 04:04:36 +01:00
commit c7a17f7772
83 changed files with 3574 additions and 0 deletions

24
system/user.nix Normal file
View File

@@ -0,0 +1,24 @@
{
pkgs,
username,
prettyUsername,
...
}: {
users.mutableUsers = true;
users.users.${username} = {
isNormalUser = true;
description = "${prettyUsername}";
extraGroups = [
"adbusers"
"docker" #access to docker as non-root
"libvirtd" #Virt manager/QEMU access
# "lp"
"networkmanager"
"scanner"
"wheel" #sudo access
];
shell = pkgs.bash;
# ignoreShellProgramCheck = true;
};
nix.settings.allowed-users = [ "${username}" ];
}