31 lines
735 B
Nix
31 lines
735 B
Nix
|
|
{ inputs, outputs, lib, config, pkgs, hostname, specialArgs, ... }:
|
|
|
|
let
|
|
autoLoginUser = specialArgs.mainUser or null;
|
|
in
|
|
{
|
|
services.displayManager = lib.mkIf (autoLoginUser != null) {
|
|
autoLogin.enable = true;
|
|
autoLogin.user = autoLoginUser;
|
|
};
|
|
users.users = {
|
|
gwen = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "networkManager" "lpadmin" ];
|
|
};
|
|
ingrid = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "networkManager" "lpadmin" ];
|
|
};
|
|
bill = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "networkManager" "lpadmin" ];
|
|
};
|
|
logic11 = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "dialout" "networkmanager" "dialout" "docker" "plugdev" "vboxusers" ];
|
|
};
|
|
};
|
|
}
|