nvim: move to services we do not specify a pkgset
This commit is contained in:
parent
465a6b19d1
commit
11b98d8146
45 changed files with 38 additions and 37 deletions
23
services/nvim/kanagawa-nvim.nix
Normal file
23
services/nvim/kanagawa-nvim.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
lib.mkIf (lib.elem "nvim::kanagawa-nvim" config.machine.pkgs) {
|
||||
programs.nvim-lazy.lazyPlugins = [
|
||||
{
|
||||
dir = vPlug: vPlug.kanagawa-nvim;
|
||||
priority = 1000;
|
||||
config = # lua
|
||||
''
|
||||
function()
|
||||
require('kanagawa').setup({
|
||||
transparent = true,
|
||||
})
|
||||
vim.cmd([[colorscheme kanagawa-wave]])
|
||||
end
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue