Add bat theme, kitty as rofi term, missing nvim packages

This commit is contained in:
Evie Litherland-Smith 2023-04-05 15:42:50 +01:00
parent 4a98553740
commit 5bda8341ea
3 changed files with 25 additions and 5 deletions

View file

@ -4,5 +4,6 @@
enable = true; enable = true;
location = "right"; location = "right";
pass.enable = true; pass.enable = true;
terminal = "kitty";
}; };
} }

View file

@ -6,10 +6,24 @@
./lazygit.nix ./lazygit.nix
]; ];
programs.neovim.defaultEditor = true; programs.neovim.defaultEditor = true;
programs.bat = {
enable = true;
config = {
theme = "Catppuccin-macchiato";
};
themes = {
Catppuccin-macchiato = builtins.readFile (pkgs.fetchFromGitHub
{
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
} + "/Catppuccin-macchiato.tmTheme");
};
};
home.packages = with pkgs; [ home.packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; }) (nerdfonts.override { fonts = [ "FiraCode" ]; })
file file
silver-searcher silver-searcher
bat
]; ];
} }

View file

@ -16,22 +16,27 @@
gcc gcc
fzf fzf
ripgrep ripgrep
# LSP config
# Python # Python
mypy mypy
black black
isort isort
ruff ruff
python3Packages.jedi-language-server
# Nix # Nix
rnix-lsp rnix-lsp
nil nil
# Lua # Lua
sumneko-lua-language-server sumneko-lua-language-server
stylua
# Fortran # Fortran
fortran-language-server fortran-language-server
];
extraPython3Packages = ps: with ps; [ # Misc
jedi nodePackages.prettier
]; ];
}; };
} }