mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 07:24:10 +01:00
12 lines
391 B
Nix
12 lines
391 B
Nix
{username, ...}: {
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users."${username}" = {
|
||
home = "/Users/${username}";
|
||
|
||
# set user's default shell back to zsh
|
||
# `chsh -s /bin/zsh`
|
||
# DO NOT change the system's default shell to nushell! it will break some apps!
|
||
# It's better to change only kitty/wezterm's shell to nushell!
|
||
};
|
||
}
|