Change from fish to zsh with p10k
This commit is contained in:
parent
ab73790c6d
commit
70dd415c8e
3 changed files with 36 additions and 9 deletions
|
@ -119,6 +119,9 @@
|
||||||
vlc
|
vlc
|
||||||
libsForQt5.vvave
|
libsForQt5.vvave
|
||||||
tidal-hifi
|
tidal-hifi
|
||||||
|
|
||||||
|
# zsh Themes
|
||||||
|
zsh-powerlevel10k
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -127,12 +130,36 @@
|
||||||
# Enable home-manager
|
# Enable home-manager
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|
||||||
# Enable fish shell
|
# Enable z-shell
|
||||||
fish = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = ''
|
shellAliases = {
|
||||||
set fish_greeting # Disable fish_greeting
|
ls = "lsd";
|
||||||
export GPG_TTY=$(tty)
|
ll = "ls -l";
|
||||||
|
la = "ls -la";
|
||||||
|
};
|
||||||
|
history = {
|
||||||
|
size = 10000;
|
||||||
|
path = "$HOME/.config/zsh/history";
|
||||||
|
};
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
plugins = [
|
||||||
|
"git"
|
||||||
|
"thefuck"
|
||||||
|
];
|
||||||
|
custom = "$HOME/.oh-my-custom";
|
||||||
|
theme = "powerlevel10k/powerlevel10k";
|
||||||
|
};
|
||||||
|
plugins = [
|
||||||
|
{
|
||||||
|
name = "powerlevel10k";
|
||||||
|
src = pkgs.zsh-powerlevel10k;
|
||||||
|
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
initExtra = ''
|
||||||
|
source ~/.p10k.zsh
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
# thunderbird
|
# thunderbird
|
||||||
];
|
];
|
||||||
initialPassword = "changeme";
|
initialPassword = "changeme";
|
||||||
shell = pkgs.fish;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
teams
|
teams
|
||||||
];
|
];
|
||||||
initialPassword = "changeme";
|
initialPassword = "changeme";
|
||||||
shell = pkgs.fish;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
|
|
Loading…
Reference in a new issue