Updated neovim config and added filters to remove devtools

This commit is contained in:
2025-12-22 15:31:46 +00:00
parent 8ecc67c56e
commit 0a994a3013
3 changed files with 30 additions and 20 deletions
+11 -1
View File
@@ -17,7 +17,17 @@
recursive = true;
};
"nvim" = {
source = ./dotfiles/dot_config/nvim;
source = lib.cleanSourceWith {
src = ./dotfiles/dot_config/nvim;
filter = name: type: let
baseName = baseNameOf name;
in
! (
(lib.hasPrefix "." baseName)
|| (lib.hasPrefix "devenv" baseName)
|| (isRoot && (lib.hasSuffix ".toml" baseName || lib.hasSuffix ".yml" baseName))
);
};
target = ".config/nvim";
recursive = true;
};