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