1

Compare commits

...

2 Commits

Author SHA1 Message Date
ffbb81947e Enable nixd LSP 2024-06-21 13:46:06 +02:00
e615048e8c Set NIX_PATH env variable 2024-06-21 13:45:59 +02:00
2 changed files with 19 additions and 0 deletions

View File

@ -38,6 +38,7 @@ in {
haskell-language-server
lua-language-server
nil
nixd
pyright
rust-analyzer
texlab
@ -862,6 +863,21 @@ in {
{name = "cmake";}
{name = "lua_ls";}
{name = "nil_ls";}
{
name = "nixd";
# TODO: Figure out how to structure this attrset
extraOptions = {
nixd = {
diagnostic = {
suppress = [
"sema-escaping-with"
"var-bind-to-this"
"escaping-this-with"
];
};
};
};
}
{name = "pyright";}
{name = "texlab";}

View File

@ -80,6 +80,9 @@ with mylib.networking; {
# as nix shell nixpkgs#name) consistent with your flake inputs.
# (Registry contains flakes)
registry = lib.mapAttrs' (n: v: lib.nameValuePair n {flake = v;}) inputs;
# Set NIX_PATH to find nixpgks
nixPath = ["nixpkgs=${inputs.nixpkgs.outPath}" "home-manager=${inputs.home-manager.outPath}"];
};
# Bootloader/Kernel stuff