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;
location = "right";
pass.enable = true;
terminal = "kitty";
};
}

View file

@ -6,10 +6,24 @@
./lazygit.nix
];
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; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
file
silver-searcher
bat
];
}

View file

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