ITADN

[Feature Request] Disable NixOS Options

#807Openallen-liaoo 创建于 2026-04-11
enhancement
A
allen-liaoocommented
### Is your feature request related to a problem? Please describe. Would love to be able to disable NixOS options. I use Home-manager standalone and nixd suggesting the options is confusing to me. For example, when I type `program`, I get two possible modules, and I have to look at them to know which one is home-manager's programs module. I tried setting nixos.expr to vim.NIL but get this error instead. ``` [ERROR][2026-04-11 17:24:18] ...-unwrapped-0.12.1/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc" "nixd" "stderr" "I[17:24:18.651] 229687: <-- reply(4)\nE[17:24:18.651] 229687: workspace/configuration: parse error expected object at (root).options.nixos\nE[17:24:18.651] 229687: workspace/configuration: parse error expected object at (root).options.nixos\n" ``` ### Describe the solution you'd like To stop nixd from loading nixos options or at least from suggesting them. ### Describe alternatives you've considered _No response_ ### Additional context _No response_
0 条评论