dodanie ustawień vscode

This commit is contained in:
installer
2024-11-03 13:40:38 +01:00
parent 1c97431ca9
commit 983af5f9bc

19
.vscode/settings.json vendored Normal file
View File

@@ -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"
// },
},
}
}
}