Added bluetooth. Updated nixvim config

This commit is contained in:
Aleksandr Lebedev 2024-11-21 20:08:03 +01:00
parent a63abfd153
commit 2191a27a34
2 changed files with 76 additions and 1 deletions

View file

@ -218,7 +218,17 @@
enable = true;
};
logitech.wireless.enable = true;
bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Experimental = true;
};
};
};
};
services.blueman.enable = true;
security.polkit.enable = true;

View file

@ -8,7 +8,72 @@
enable = true;
colorschemes.catppuccin.enable = true;
plugins = {
cmp = {
enable = true;
autoEnableSources = true;
settings = {
sources = [
{
name = "nvim_lsp";
priority = 1000;
option = {
#inherit get_bufnrs;
};
}
{
name = "nvim_lsp_signature_help";
priority = 1000;
option = {
#inherit get_bufnrs;
};
}
{
name = "nvim_lsp_document_symbol";
priority = 1000;
option = {
# inherit get_bufnrs;
};
}
{
name = "treesitter";
priority = 850;
option = {
# inherit get_bufnrs;
};
}
{
name = "buffer";
priority = 500;
option = {
# inherit get_bufnrs;
};
}
{
name = "path";
priority = 300;
}
]; };
};
lsp-format = {
enable = true;
};
lsp = {
enable = true;
inlayHints = true;
servers = {
nixd = {
enable = true;
extraOptions = {
nixos = {
expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options";
};
home_manager = {
expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options";
};
};
};
};
};
};
opts = {
number = true;