restructure + add vr

This commit is contained in:
2026-08-12 21:29:15 +02:00
parent 9100fc93ef
commit 03ec04d6b3
17 changed files with 95 additions and 69 deletions
+22
View File
@@ -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 []";
};
};
};
};
};
}