update nixvim config
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
programs.nixvim.lsp = {
|
||||
servers = {
|
||||
lua_ls.enable = true;
|
||||
nixd = {
|
||||
enable = true;
|
||||
config = {
|
||||
nixd = {
|
||||
nixpkgs = {
|
||||
expr = ''import (builtins.getFlake "/home/user/nix-config").inputs.nixpkgs { }'';
|
||||
};
|
||||
formatting = {
|
||||
command = "nixfmt";
|
||||
};
|
||||
options = {
|
||||
nixos = {
|
||||
expr = ''(builtins.getFlake "/home/user/nix-config").nixosConfigurations.desktop.options'';
|
||||
};
|
||||
home_manager = {
|
||||
expr = ''(builtins.getFlake "/home/user/nix-config").nixosConfigurations.desktop.options.home-manager.users.type.getSubOptions []'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user