initial
This commit is contained in:
16
config/pluginmanagers/default.nix
Normal file
16
config/pluginmanagers/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./lazy-nvim.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
pluginmanagers.enable = lib.mkEnableOption "Enable pluginmanagers module";
|
||||
};
|
||||
config = lib.mkIf config.pluginmanagers.enable {
|
||||
lazy-nvim.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
14
config/pluginmanagers/lazy-nvim.nix
Normal file
14
config/pluginmanagers/lazy-nvim.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
lazy-nvim.enable = lib.mkEnableOption "Enable lazy-nvim module";
|
||||
};
|
||||
config = lib.mkIf config.lazy-nvim.enable {
|
||||
plugins.lazy = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user