From 983af5f9bc425b7eb7650005960d714f62fae8f1 Mon Sep 17 00:00:00 2001 From: installer Date: Sun, 3 Nov 2024 13:40:38 +0100 Subject: [PATCH] =?UTF-8?q?dodanie=20ustawie=C5=84=20vscode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .vscode/settings.json 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