change default shell to fish + starship
This commit is contained in:
parent
911f97e351
commit
d08f274800
6 changed files with 23 additions and 2 deletions
8
home/profiles/terminal/shell/fish.nix
Normal file
8
home/profiles/terminal/shell/fish.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
interactiveShellInit = ''
|
||||||
|
set fish_greeting
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
5
home/profiles/terminal/shell/starship.nix
Normal file
5
home/profiles/terminal/shell/starship.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
5
sys/profiles/programs/fish.nix
Normal file
5
sys/profiles/programs/fish.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue