78 lines
1.7 KiB
Nix
78 lines
1.7 KiB
Nix
{ pkgs, ... }: {
|
|
|
|
programs.fish = {
|
|
enable = true;
|
|
shellAbbrs = {
|
|
# nix develop -c $SHELL
|
|
nd = "nix develop -c fish";
|
|
lg = "lazygit";
|
|
};
|
|
|
|
interactiveShellInit = ''
|
|
set fish_greeting
|
|
|
|
set -g fish_color_param brcyan
|
|
set -gx LG_CONFIG_FILE "$HOME/.config/lazygit/config.yml,$HOME/.config/lazygit/theme.yml"
|
|
'';
|
|
};
|
|
|
|
programs.zellij = {
|
|
enable = true;
|
|
enableFishIntegration = false;
|
|
|
|
settings = {
|
|
default_shell = "fish";
|
|
theme = "matugen";
|
|
default_layout = "compact";
|
|
show_startup_tips = false;
|
|
|
|
|
|
keybinds = {
|
|
normal = {
|
|
"bind \"Alt h\"" = { MoveFocus = "Left"; };
|
|
"bind \"Alt l\"" = { MoveFocus = "Right"; };
|
|
"bind \"Alt j\"" = { MoveFocus = "Down"; };
|
|
"bind \"Alt k\"" = { MoveFocus = "Up"; };
|
|
};
|
|
|
|
move = {
|
|
"bind \"h\"" = { MovePane = "Left"; };
|
|
"bind \"l\"" = { MovePane = "Right"; };
|
|
"bind \"j\"" = { MovePane = "Down"; };
|
|
"bind \"k\"" = { MovePane = "Up"; };
|
|
};
|
|
|
|
resize = {
|
|
"bind \"h\"" = { Resize = "Increase Left"; };
|
|
"bind \"l\"" = { Resize = "Increase Right"; };
|
|
"bind \"j\"" = { Resize = "Increase Down"; };
|
|
"bind \"k\"" = { Resize = "Increase Up"; };
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.zoxide = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
};
|
|
|
|
programs.starship = {
|
|
enable = true;
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
settings.user = { name = "Nils Walther"; email = "mail@nils-walther.de"; };
|
|
};
|
|
|
|
programs.yt-dlp = {
|
|
enable = true;
|
|
};
|
|
|
|
programs.lazygit = {
|
|
enable = true;
|
|
};
|
|
|
|
}
|