Files
nix-config/modules/darwin/users.nix
T

12 lines
448 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ myvars, ... }:
{
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users."${myvars.username}" = {
home = "/Users/${myvars.username}";
# The login shell is set imperatively (`chsh -s /bin/zsh`), not declaratively here.
# DO NOT change the system's default shell to nushell! it will break some apps!
# It's better to change only kitty/wezterm & other terminal emulator's shell to nushell!
};
}