diff --git a/modules/home-manager/programs/neovim/lsp.nix b/modules/home-manager/programs/neovim/lsp.nix index 47ea0d3..f0d123b 100644 --- a/modules/home-manager/programs/neovim/lsp.nix +++ b/modules/home-manager/programs/neovim/lsp.nix @@ -84,6 +84,9 @@ in nixd = { settings = { nixd = { + nixpkgs = { + expr = 'import (builtins.getFlake (${location})).inputs.nixpkgs { }', + }, options = { nixos = { expr = '(builtins.getFlake ("${location}")).nixosConfigurations.${hostname}.options',