Satori: misc changes

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-05-30 16:05:26 +05:30
parent 423c2236b7
commit a66daf3ac6
15 changed files with 163 additions and 159 deletions

View File

@@ -48,6 +48,10 @@ in
nvidiaBusId = "PCI:1:0:0";
};
modesetting = { enable = true; };
powerManagement = {
enable = true;
finegrained = true;
};
};
};
services.xserver = {

View File

@@ -207,7 +207,7 @@ local on_attach = function(client, bufnr)
buf_set_keymap('n', "<M-f>", "<cmd>lua vim.lsp.buf.formatting()<CR>", {silent=true, noremap=true})
end
local servers = { "ccls", "rust_analyzer", "tsserver", "hls", "pylsp", "texlab", "rnix", "terraform_lsp", "html", "cssls", "jsonls", "svelte", "gopls" }
local servers = { "clangd", "rust_analyzer", "tsserver", "hls", "pylsp", "texlab", "rnix", "terraform_lsp", "html", "cssls", "jsonls", "svelte", "gopls" }
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.resolveSupport = {

View File

@@ -9,7 +9,7 @@
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
# jack.enable = true;
socketActivation = true;
# https://nixos.wiki/wiki/PipeWire#Low-latency_setup