2023-09-24 12:39:28 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
isUserEnabled = builtins.elem "vinzenz" config.my.enabledUsers;
|
|
|
|
in {
|
2023-09-24 13:12:09 +02:00
|
|
|
config = lib.mkIf isUserEnabled {
|
|
|
|
users.users.vinzenz = {
|
|
|
|
isNormalUser = true;
|
|
|
|
name = "vinzenz";
|
2024-05-25 11:24:00 +02:00
|
|
|
description = "Vinzenz";
|
2023-09-24 13:12:09 +02:00
|
|
|
home = "/home/vinzenz";
|
2024-05-25 11:24:00 +02:00
|
|
|
extraGroups = ["networkmanager" "wheel" "games" "dialout" "podman" "nginx"];
|
2023-09-24 13:12:09 +02:00
|
|
|
shell = pkgs.zsh;
|
2024-05-25 11:24:00 +02:00
|
|
|
autoSubUidGidRange = true;
|
2023-09-24 13:12:09 +02:00
|
|
|
};
|
|
|
|
};
|
2023-09-24 12:39:28 +02:00
|
|
|
}
|