Replace the T3 stubs with the zsh/starship/fzf/zoxide/eza/bat/direnv/btop/fastfetch
aspect (homeManager.shell) and the Neovim aspect (homeManager.neovim, initLua read
from the unchanged init.lua), both ported from 030e97e without the my.home.*
option wrapper. Neovim keeps its own catppuccin setup; Stylix's neovim target
stays off. git.nix and claude-code.nix needed no change: they evaluate, their
home-manager output is valid and the pinned sources build.
Add .serena/ to .gitignore: Serena writes per-project state into every
repository it activates.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
47 lines
1.2 KiB
Nix
47 lines
1.2 KiB
Nix
# Neovim with LSP, completion, fuzzy finding and format-on-save.
|
|
# The editor config is in init.lua next to this file. It sets the catppuccin
|
|
# colorscheme itself, so Stylix's neovim target stays off (modules/theme/stylix.nix).
|
|
{
|
|
flake.modules.homeManager.neovim =
|
|
{ pkgs, ... }:
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
nvim-treesitter.withAllGrammars
|
|
nvim-lspconfig
|
|
blink-cmp
|
|
telescope-nvim
|
|
telescope-fzf-native-nvim
|
|
plenary-nvim
|
|
lualine-nvim
|
|
gitsigns-nvim
|
|
which-key-nvim
|
|
oil-nvim
|
|
conform-nvim
|
|
catppuccin-nvim
|
|
nvim-web-devicons
|
|
mini-nvim
|
|
];
|
|
|
|
# Language servers, formatters and search tools, visible to nvim only.
|
|
extraPackages = with pkgs; [
|
|
nixd
|
|
nixfmt
|
|
lua-language-server
|
|
stylua
|
|
bash-language-server
|
|
shfmt
|
|
ripgrep
|
|
fd
|
|
];
|
|
|
|
initLua = builtins.readFile ./init.lua;
|
|
};
|
|
};
|
|
}
|