nixos-configuration/modules/users/vinzenz.nix
Vinzenz Schroeter e7da5bf627 add ronja to lp2
2024-02-09 18:52:20 +01:00

20 lines
410 B
Nix

{
config,
pkgs,
lib,
...
}: let
isUserEnabled = builtins.elem "vinzenz" config.my.enabledUsers;
in {
config = lib.mkIf isUserEnabled {
users.users.vinzenz = {
isNormalUser = true;
name = "vinzenz";
description = "Vinzenz Schroeter";
home = "/home/vinzenz";
extraGroups = ["networkmanager" "wheel" "games" "dialout" "podman"];
shell = pkgs.zsh;
};
};
}