This commit is contained in:
4DBug
2026-02-04 16:43:38 -06:00
parent d25f508b25
commit 37ff9e91ff
21 changed files with 934 additions and 0 deletions

19
new/modules/users.nix Normal file
View File

@@ -0,0 +1,19 @@
{ config, pkgs, device, ... }:
{
users.users = {
bug = {
isNormalUser = true;
description = "bug";
extraGroups = [ "networkmanager" "wheel" "audio" "video" "libvirtd" "ydotool" "dialout" ];
};
} // (if (device == "server") then {
levi = {
isNormalUser = true;
description = "levi";
extraGroups = [ "wheel"];
hashedPassword = "$6$AqsDy7oxFOpjKZLM$kD0y3sc1b9xPTveqThhv2EyyhDh0WELrznYwCOQmZzVqEVWs6iG8PmLMstWSfpdloljciEW09u8vTRi1h0EBw1";
};
} else {});
}