change default shell to fish + starship

This commit is contained in:
xunuwu 2025-03-09 19:44:02 +01:00
parent 911f97e351
commit d08f274800
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
6 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,8 @@
{
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
'';
};
}

View file

@ -0,0 +1,5 @@
{
programs.starship = {
enable = true;
};
}

View file

@ -12,6 +12,8 @@
default default
terminal.shell.zsh terminal.shell.zsh
terminal.shell.fish
terminal.shell.starship
terminal.programs.xdg terminal.programs.xdg
terminal.programs.direnv terminal.programs.direnv
@ -36,7 +38,7 @@
programs.browsers.tor programs.browsers.tor
programs.browsers.chromium programs.browsers.chromium
terminal.emulator.wezterm # terminal.emulator.wezterm
terminal.emulator.foot terminal.emulator.foot
# desktop # desktop

View file

@ -26,6 +26,7 @@
core.locale core.locale
nix.default nix.default
programs.zsh programs.zsh
programs.fish
core.tools core.tools
core.compat core.compat
core.boot core.boot

View file

@ -2,7 +2,7 @@
users.users.xun = { users.users.xun = {
isNormalUser = true; isNormalUser = true;
initialPassword = "nixos"; initialPassword = "nixos";
shell = pkgs.zsh; shell = pkgs.fish;
extraGroups = [ extraGroups = [
"wheel" "wheel"
"input" "input"

View file

@ -0,0 +1,5 @@
{
programs.fish = {
enable = true;
};
}