feat(neovim): set nixpkgs variable for nixd
This commit is contained in:
parent
ad466c1550
commit
88b54f083b
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue