feat: clangd

This commit is contained in:
2024-02-21 23:26:45 +01:00
parent 64d7a67972
commit e1b0da8b46
3 changed files with 14 additions and 1 deletions

View File

@@ -49,6 +49,15 @@
ags = ags.packages.${prev.system}.default; ags = ags.packages.${prev.system}.default;
gbmonctl = prev.callPackage ./overlays/gbmonctl {}; gbmonctl = prev.callPackage ./overlays/gbmonctl {};
lpc21isp = prev.callPackage ./overlays/lpc21isp {}; lpc21isp = prev.callPackage ./overlays/lpc21isp {};
cura = prev.appimageTools.wrapType2 rec {
name = "cura";
version = "5.6.0";
src = prev.fetchurl {
url = "https://github.com/Ultimaker/Cura/releases/download/${version}/UltiMaker-Cura-${version}-linux-X64.AppImage";
hash = "sha256-EHiWoNpLKHPzv6rZrtNgEr7y//iVcRYeV/TaCn8QpEA=";
};
extraPkgs = pkgs: with pkgs; [];
};
}) })
]; ];
}); });

View File

@@ -48,7 +48,6 @@
input = { input = {
accel_profile = "flat"; accel_profile = "flat";
kb_layout = "cc1-thea"; kb_layout = "cc1-thea";
mouse_refocus = false;
}; };
bind = import ./keybinds.nix; bind = import ./keybinds.nix;
bindm = import ./mousebinds.nix; bindm = import ./mousebinds.nix;

View File

@@ -563,6 +563,11 @@ in {
}; };
pylsp.enable = true; pylsp.enable = true;
clangd = {
enable = true;
cmd = ["clangd" "--offset-encoding=utf-16"];
};
nixd.enable = true; nixd.enable = true;
lua-ls.enable = true; lua-ls.enable = true;
bashls.enable = true; bashls.enable = true;