mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-10 19:26:52 +02:00
feat: nushellFull & bashInteractive
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user