feat(neovim): set nixpkgs variable for nixd

This commit is contained in:
Alexandre Cavalheiro 2025-01-11 00:48:48 -03:00
parent ad466c1550
commit 88b54f083b
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -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',