Compare commits

...

3 Commits

Author SHA1 Message Date
8cdb19c60e Fix clangd lsp config
Some checks failed
pre-commit / pre-commit (push) Failing after 18s
2024-05-12 17:08:33 +02:00
1355d3b227 Add clangd lsp 2024-05-12 17:05:05 +02:00
7017afd686 Add lbivirt 2024-05-12 13:03:13 +02:00
3 changed files with 20 additions and 0 deletions

View File

@ -53,6 +53,7 @@
nil
yaml-language-server
lua-language-server
clang-tools
];
home.sessionVariables.EDITOR = "nvim";
}

View File

@ -121,9 +121,14 @@ lspconfig.tsserver.setup({
},
})
-- LSP: rust
lspconfig.rust_analyzer.setup {
}
-- LSP: C/C++
lspconfig.clangd.setup({})
-- Telescope
require('telescope').setup({
extensions = {

14
system/libvirt.nix Normal file
View File

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
};
};
};
}