Config for rainbowdash, fix clangd

This commit is contained in:
Artemis Tosini 2021-07-07 04:17:35 +00:00
parent f2c913b670
commit 402e7d9602
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 12 additions and 1 deletions

View file

@ -10,3 +10,4 @@ scale=ewa_lanczossharp
cscale=ewa_lanczossharp cscale=ewa_lanczossharp
audio-normalize-downmix=yes audio-normalize-downmix=yes
replaygain=track

View file

@ -21,7 +21,9 @@
meson meson
gruvbox gruvbox
coc-go coc-clangd
vim-lsp-cxx-highlight
coc-json coc-json
coc-rust-analyzer coc-rust-analyzer
]; ];
@ -34,6 +36,10 @@
xdg.configFile."nvim/coc-settings.json".text = builtins.toJSON { xdg.configFile."nvim/coc-settings.json".text = builtins.toJSON {
rust-analyzer.serverPath = "${pkgs.rust-analyzer}/bin/rust-analyzer"; rust-analyzer.serverPath = "${pkgs.rust-analyzer}/bin/rust-analyzer";
clangd = {
path = "${pkgs.llvmPackages_latest.clang-unwrapped}/bin/clangd}";
semanticHighlighting = true;
};
languageserver.nix = { languageserver.nix = {
command = "${pkgs.rnix-lsp}/bin/rnix-lsp"; command = "${pkgs.rnix-lsp}/bin/rnix-lsp";
filetypes = [ "nix" ]; filetypes = [ "nix" ];

View file

@ -14,6 +14,10 @@
../../sets/workstation.nix ../../sets/workstation.nix
]; ];
environment.systemPackages = [
pkgs.pkgsCross.aarch64-multiplatform.buildPackages.gcc
];
networking.hostName = "rainbowdash"; networking.hostName = "rainbowdash";
system.stateVersion = "20.03"; system.stateVersion = "20.03";
} }