Compare commits
2 Commits
ea0697fc04
...
a671f56375
Author | SHA1 | Date |
---|---|---|
Sven Vogel | a671f56375 | |
Sven Vogel | f3e73d24be |
|
@ -75,7 +75,7 @@ in
|
||||||
services.xserver.displayManager.defaultSession = "plasmawayland";
|
services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||||
|
|
||||||
programs.partition-manager.enable = true;
|
programs.partition-manager.enable = true;
|
||||||
programs.zsh.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
||||||
# use bash shell for other users
|
# use bash shell for other users
|
||||||
environment.shells = with pkgs; [ bash ];
|
environment.shells = with pkgs; [ bash ];
|
||||||
|
@ -153,6 +153,14 @@ in
|
||||||
environment.systemPackages = (with pkgs; [
|
environment.systemPackages = (with pkgs; [
|
||||||
(python3.withPackages(python-packages))
|
(python3.withPackages(python-packages))
|
||||||
|
|
||||||
|
fishPlugins.done
|
||||||
|
fishPlugins.fzf-fish
|
||||||
|
fishPlugins.forgit
|
||||||
|
fishPlugins.hydro
|
||||||
|
fzf
|
||||||
|
fishPlugins.grc
|
||||||
|
grc
|
||||||
|
|
||||||
distrobox
|
distrobox
|
||||||
|
|
||||||
go
|
go
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
"plugdev"
|
"plugdev"
|
||||||
"docker"
|
"docker"
|
||||||
];
|
];
|
||||||
# use zsh
|
# use fish
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.fish;
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# user packages
|
# user packages
|
||||||
|
@ -54,7 +54,6 @@
|
||||||
figlet
|
figlet
|
||||||
cowsay
|
cowsay
|
||||||
cmatrix
|
cmatrix
|
||||||
eza
|
|
||||||
btop
|
btop
|
||||||
htop
|
htop
|
||||||
tmux
|
tmux
|
||||||
|
@ -128,7 +127,11 @@
|
||||||
|
|
||||||
home-manager.users.servostar = {
|
home-manager.users.servostar = {
|
||||||
home = {
|
home = {
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.11";
|
||||||
|
sessionVariables = {
|
||||||
|
PAGER = "most"; # use most as pager program for man pages (colors!)
|
||||||
|
EDITOR = "nvim"; # overwrite editor
|
||||||
|
};
|
||||||
};
|
};
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -148,7 +151,7 @@
|
||||||
};
|
};
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -164,40 +167,19 @@
|
||||||
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf;
|
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf;
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# ZSH
|
# Fish shell
|
||||||
programs.zsh = {
|
programs.fish = {
|
||||||
enable = true;
|
|
||||||
autocd = true;
|
|
||||||
completionInit = "autoload -U compinit";
|
|
||||||
initExtra = ''
|
|
||||||
export PAGER="most"
|
|
||||||
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=242"
|
|
||||||
'';
|
|
||||||
# Custom keybindings
|
|
||||||
initExtraFirst = ''
|
|
||||||
bindkey "^[[1;5C" emacs-forward-word
|
|
||||||
bindkey "^[[1;5D" emacs-backward-word
|
|
||||||
'';
|
|
||||||
enableCompletion = true;
|
|
||||||
enableAutosuggestions = true;
|
|
||||||
syntaxHighlighting = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
interactiveShellInit = ''
|
||||||
shellAliases = {
|
set fish_greeting # Disable greeting
|
||||||
ls = "eza --icons";
|
'';
|
||||||
};
|
};
|
||||||
history = {
|
|
||||||
size = 10000;
|
programs.eza = {
|
||||||
share = true;
|
|
||||||
};
|
|
||||||
zplug = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [
|
enableAliases = true;
|
||||||
{ name = "MichaelAquilina/zsh-you-should-use"; }
|
git = true;
|
||||||
{ name = "akash329d/zsh-alias-finder"; }
|
icons = true;
|
||||||
{ name = "zsh-users/zsh-completions"; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue