From 40d8fd056bef4526acbe38a9b6ff98fc0c3fd8c9 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 20 May 2026 13:56:10 +0100 Subject: fix(nix,nvim): drop gh-actions-language-server (not in nixpkgs); export USER in nix-switch - gh-actions-language-server is an npm package (lttb/gh-actions-language-server) not packaged in nixpkgs. Removed from nix/common.nix and from the vim.lsp.enable list in dot_config/nvim/lua/plugins/lsp.lua. Restore later via a per-project flake.nix if working on a workflows-heavy repo. - just runs recipes with a sanitized env where $USER may be unset; home-manager's activation script dereferences it unconditionally and fails with 'USER: unbound variable'. Export USER (and HOME for symmetry) at the top of the nix-switch recipe. --- dot_config/nvim/lua/plugins/lsp.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'dot_config/nvim/lua') diff --git a/dot_config/nvim/lua/plugins/lsp.lua b/dot_config/nvim/lua/plugins/lsp.lua index 5039d04..98f0f66 100644 --- a/dot_config/nvim/lua/plugins/lsp.lua +++ b/dot_config/nvim/lua/plugins/lsp.lua @@ -21,7 +21,6 @@ vim.lsp.enable({ "cssls", "dockerls", "eslint", - "gh_actions_ls", "html", "jsonls", "lua_ls", -- cgit v1.3.1