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

21 lines
418 B
Nix

{
config,
pkgs,
lib,
...
}: let
isUserEnabled = builtins.elem "ronja" config.my.enabledUsers;
in {
config = lib.mkIf isUserEnabled {
# Define user account
users.users.ronja = {
isNormalUser = true;
name = "ronja";
description = "Ronja Spiegelberg";
home = "/home/ronja";
extraGroups = ["networkmanager" "wheel" "games" "podman"];
shell = pkgs.zsh;
};
};
}