c'est le bordel un peu

This commit is contained in:
Amaury JOLY
2026-06-07 17:10:46 +02:00
parent b4f7205dce
commit 33ec89cd08
18 changed files with 731 additions and 42 deletions

26
modules/common/editor.nix Normal file
View File

@@ -0,0 +1,26 @@
# modules/common/editor.nix
{pkgs, ...}: let
nvimCfg = import ./nvim-cfg.nix {inherit pkgs;};
in {
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
configure = {
customRC = ''
${nvimCfg.baseVimConfig}
lua << EOF
${nvimCfg.baseLuaConfig}
EOF
'';
packages.myNeovimPackages = {
start = nvimCfg.basePlugins;
};
};
};
}