feat: nushellFull & bashInteractive

This commit is contained in:
Ryan Yin
2023-12-26 04:51:14 +08:00
parent e6008a35ad
commit 669404d2c3
6 changed files with 13 additions and 37 deletions

View File

@@ -70,7 +70,7 @@ in {
programs.zsh.enable = true;
environment.shells = [
pkgs.zsh
pkgs.nushell # my custom shell
pkgs.nushellFull # my custom shell
];
# homebrew need to be installed manually, see https://brew.sh

View File

@@ -6,11 +6,11 @@
}: {
# add user's shell into /etc/shells
environment.shells = with pkgs; [
bash
nushell
bashInteractive
nushellFull
];
# set user's default shell system-wide
users.defaultUserShell = pkgs.nushell;
users.defaultUserShell = pkgs.nushellFull;
# fix for `sudo xxx` in kitty/wezterm and other modern terminal emulators
security.sudo.keepTerminfo = true;