{
  "security.workspace.trust.enabled": false,
  "nix.enableLanguageServer": true,
  "nix.serverPath": "nixd",
  "nix.formatterPath": "nixfmt",
  "nix.serverSettings": {
    "nixd": {
      "formatting": {
        "command": "nixfmt"
      },
      "options": {
        "nixos": {
          "expr": "(let pkgs = import <nixpkgs> { }; in (pkgs.lib.evalModules { modules
         =  (import <nixpkgs/nixos/modules/module-list.nix>) ++ [ ({...}: {
         nixpkgs.hostPlatform = builtins.currentSystem;} ) ] ; })).options"
        },
        "home-manager": {
          "expr": "(builtins.getFlake \"github:nix-community/home-manager\").homeConfigurations.<name>.options"
        }
      }
    }
  }
}
