push
This commit is contained in:
19
modules/users.nix
Normal file
19
modules/users.nix
Normal 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 {});
|
||||
}
|
||||
Reference in New Issue
Block a user