diff --git a/.vscode/settings.json b/.vscode/settings.json index 7f82aa5..8834eb0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,35 @@ { - "editor.fontFamily": "FiraCode Nerd Font", + "editor.fontFamily": "CaskaydiaMono Nerd Font Mono", "editor.hover.delay": 1500, "editor.bracketPairColorization.enabled": true, "editor.guides.bracketPairs": true, "editor.guides.bracketPairsHorizontal": true, "editor.guides.highlightActiveBracketPair": true, "files.trimTrailingWhitespace": true, - "sops.defaults.ageKeyFile": "age.key" + "sops.defaults.ageKeyFile": "age.key", + "nix.enableLanguageServer": true, + "nix.serverPath": "/run/current-system/sw/bin/nil", + "nix.formatterPath": "/run/current-system/sw/bin/nixfmt", + "nix.serverSettings": { + "nil": { + "formatting": { + "command": ["nixfmt"] + }, + "diagnostics": { + "ignored": [], + "excludedFiles": [] + } + }, + "nix": { + "binary": "/run/current-system/sw/bin/nix", + "maxMemoryMB": null, + "flake": { + "autoEvalInputs": true, + "autoArchive": true, + "nixpkgsInputName": "nixpkgs" + } + } + }, + "sops.binPath": "/run/current-system/sw/bin/sops", + "editor.formatOnSave": true }