This repository has been archived on 2026-01-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nixos_kde/home/shell.nix
T
2026-01-12 22:00:09 +01:00

71 lines
1.6 KiB
Nix

{ pkgs, ... }: {
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
set -g fish_color_param 42a5f5
set -g fish_color_error ff5252
#set -g fish_color_command 82b1ff
'';
};
programs.zellij = {
enable = true;
enableFishIntegration = false;
settings = {
default_shell = "fish";
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;
enableFishIntegration = true;
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
};
programs.git = {
enable = true;
settings.user = { name = "Nils Walther"; email = "mail@nils-walther.de"; };
};
programs.lazygit = {
enable = true;
};
}