diff --git a/.vscode/settings.json b/.vscode/settings.json index ac3d269..a5c5c28 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,12 +11,12 @@ "files.trimTrailingWhitespace": true, "sops.defaults.ageKeyFile": "age.key", "nix.enableLanguageServer": true, - "nix.serverPath": "/run/current-system/sw/bin/nixd", - "nix.formatterPath": "/run/current-system/sw/bin/nixfmt", + "nix.serverPath": "nixd", + "nix.formatterPath": "alejandra", "nix.serverSettings": { "nixd": { "formatting": { - "command": ["nixfmt"] + "command": ["alejandra"] }, "options": { "nixos": { @@ -25,7 +25,7 @@ } }, "nix": { - "binary": "/run/current-system/sw/bin/nix", + "binary": "nix", "maxMemoryMB": null, "flake": { "autoEvalInputs": true, diff --git a/nixos/profiles/role-dev.nix b/nixos/profiles/role-dev.nix index c3a1f4d..2a61743 100644 --- a/nixos/profiles/role-dev.nix +++ b/nixos/profiles/role-dev.nix @@ -25,6 +25,7 @@ nixd nixpkgs-fmt unstable.nixfmt-rfc-style # nixfmt RFC 166-style compatible with nixpkgs soon + alejandra # dev bash-language-server