refactor: group plugins and clipboard configuration

This commit is contained in:
2026-02-08 10:08:52 +01:00
parent ae1e52dae8
commit c36c12b234
2 changed files with 30 additions and 26 deletions

View File

@@ -1,8 +1,9 @@
{ ... }:
{
plugins.lspkind.enable = true;
plugins.cmp-nvim-lsp-signature-help.enable = true;
plugins.cmp = {
plugins = {
lspkind.enable = true;
cmp-nvim-lsp-signature-help.enable = true;
cmp = {
enable = true;
autoEnableSources = true;
settings = {
@@ -24,4 +25,5 @@
};
};
};
};
}

View File

@@ -12,9 +12,11 @@
extraPackages = with pkgs; [
wl-clipboard
];
clipboard.register = "unnamedplus";
clipboard.providers.wl-copy.enable = true;
clipboard.providers.wl-copy.package = pkgs.wl-clipboard;
clipboard.providers.xclip.enable = true;
clipboard.providers.xclip.package = pkgs.xclip;
clipboard = {
register = "unnamedplus";
providers.wl-copy.enable = true;
providers.wl-copy.package = pkgs.wl-clipboard;
providers.xclip.enable = true;
providers.xclip.package = pkgs.xclip;
};
}