refactor: complete overhaul
Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
ff2c59724a
commit
61feed4086
75 changed files with 2916 additions and 2314 deletions
39
packages/default.nix
Normal file
39
packages/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
flake,
|
||||
inputs',
|
||||
self',
|
||||
...
|
||||
}:
|
||||
let
|
||||
mkNixVim =
|
||||
module:
|
||||
inputs'.nixvim.legacyPackages.makeNixvimWithModule {
|
||||
extraSpecialArgs = { inherit inputs self; };
|
||||
inherit module;
|
||||
};
|
||||
inherit (flake) inputs self;
|
||||
bareModules = [
|
||||
self.myvimPlugins.common
|
||||
self.myvimPlugins.buffer
|
||||
self.myvimPlugins.snacks
|
||||
self.myvimPlugins.ux
|
||||
];
|
||||
coreModules = bareModules ++ [
|
||||
self.myvimPlugins.autosession
|
||||
self.myvimPlugins.blink-cmp
|
||||
self.myvimPlugins.git
|
||||
self.myvimPlugins.lang
|
||||
self.myvimPlugins.lsp
|
||||
self.myvimPlugins.lualine
|
||||
self.myvimPlugins.neotree
|
||||
self.myvimPlugins.noice
|
||||
self.myvimPlugins.treesitter
|
||||
];
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
default = self'.packages.core;
|
||||
bare = mkNixVim bareModules;
|
||||
core = mkNixVim coreModules;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue