From 35d429944554e0174e24c059e5a1fdac659baaf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Fri, 1 Nov 2024 22:03:10 +0100 Subject: [PATCH] Home Gen418 @ 2024-11-01-22:03 --- modules/home/doom/doom.nix | 1 + modules/home/doom/static/config.el | 8 ++++++++ modules/home/zsh/tools.nix | 1 - 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/home/doom/doom.nix b/modules/home/doom/doom.nix index e95a118..7ad5a20 100644 --- a/modules/home/doom/doom.nix +++ b/modules/home/doom/doom.nix @@ -29,6 +29,7 @@ lldb mermaid-filter mlocate + nixd nodejs_22 pandoc pandoc-katex diff --git a/modules/home/doom/static/config.el b/modules/home/doom/static/config.el index ccf856a..bd23d37 100644 --- a/modules/home/doom/static/config.el +++ b/modules/home/doom/static/config.el @@ -149,6 +149,14 @@ (set-formatter! 'alejandra '("alejandra" "--quiet") :modes '(nix-mode)) +;; nixd +(after! 'lsp-mode + (lsp-register-client + (make-lsp-client :new-connection (lsp-stdio-connection "nixd") + :major-modes '(nix-mode) + :priority 0 + :server-id 'nixd))) + ;;Use TS-modes (after! treesit (load! "packages/treesit-docgen.el") diff --git a/modules/home/zsh/tools.nix b/modules/home/zsh/tools.nix index c51962e..620a11a 100644 --- a/modules/home/zsh/tools.nix +++ b/modules/home/zsh/tools.nix @@ -7,7 +7,6 @@ htop killall neofetch - nil nix-search-cli nixpkgs-fmt pass