mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2026-07-29 16:52:07 +01:00
Updated neovim config and added filters to remove devtools
This commit is contained in:
Submodule home-manager/core/dotfiles updated: 0095124356...117a419e5d
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user