dotfiles/users/_common/nix_modules/user.nix
2024-05-11 11:46:42 -05:00

14 lines
314 B
Nix

{ pkgs, settings, ... }:
{
users.users.${settings.user.username} = {
initialPassword = "password1";
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "video" "input" ];
shell = pkgs.zsh;
};
environment.pathsToLink = [ "/share/zsh" ];
programs.zsh = {
enable = true;
};
}