mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
Switch to nixd lsp
This commit is contained in:
2
Makefile
2
Makefile
@@ -11,7 +11,7 @@ export NIXPKGS_ALLOW_UNFREE := 1
|
|||||||
|
|
||||||
ifeq ($(UNAME_S),Linux)
|
ifeq ($(UNAME_S),Linux)
|
||||||
SWITCH_CMD := nixos-rebuild --use-remote-sudo -I nixos-config="modules/machines/$(HOSTNAME)/configuration.nix" switch --flake '.\#' \
|
SWITCH_CMD := nixos-rebuild --use-remote-sudo -I nixos-config="modules/machines/$(HOSTNAME)/configuration.nix" switch --flake '.\#' \
|
||||||
--impure # Impure because of: https://discourse.nixos.org/t/vscode-remote-wsl-extension-works-on-nixos-without-patching-thanks-to-nix-ld/14615
|
--impure
|
||||||
endif
|
endif
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
SWITCH_CMD := exec darwin-rebuild switch --flake .
|
SWITCH_CMD := exec darwin-rebuild switch --flake .
|
||||||
|
@@ -419,7 +419,7 @@ in {
|
|||||||
#helm-ls.enable = true;
|
#helm-ls.enable = true;
|
||||||
jsonls.enable = true;
|
jsonls.enable = true;
|
||||||
pyright.enable = true;
|
pyright.enable = true;
|
||||||
rnix-lsp.enable = true;
|
nixd.enable = true;
|
||||||
terraformls.enable = true;
|
terraformls.enable = true;
|
||||||
yamlls.enable = true;
|
yamlls.enable = true;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user