diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e0c832c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,19 @@ +{ + "nix.serverPath": "nixd", + "nix.enableLanguageServer": true, + "nix.serverSettings": { + "nixd": { + "formatting": { + "command": [ "alejandra" ], // or nixfmt or nixpkgs-fmt + }, + "options": { + "nixos": { + "expr": "(builtins.getFlake \"/home/garand_plg/zaneyos\").nixosConfigurations.CONFIGNAME.options" + }, + // "home_manager": { + // "expr": "(builtins.getFlake \"/PATH/TO/FLAKE\").homeConfigurations.CONFIGNAME.options" + // }, + }, + } + } +} \ No newline at end of file