nixos-configuration/modules/users/vinzenz.nix

20 lines
401 B
Nix
Raw Normal View History

2023-09-24 12:39:28 +02:00
{
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";
2023-12-25 12:30:11 +01:00
extraGroups = ["networkmanager" "wheel" "games" "dialout"];
shell = pkgs.zsh;
};
};
2023-09-24 12:39:28 +02:00
}