This commit is contained in:
4DBug
2026-02-04 16:43:43 -06:00
parent 37ff9e91ff
commit 186ca3cfbf
31 changed files with 824 additions and 1279 deletions

19
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 {});
}