From a705159847a17e4ac5394a8c1c50acca0c2c8132 Mon Sep 17 00:00:00 2001 From: Pierre Dal-Pra Date: Sun, 18 Aug 2024 22:11:47 +0200 Subject: [PATCH] Switch to nixd (#146) --- .vscode/settings.json | 10 ++-------- lib/dev-shell.nix | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4dc16826..bd20ae67 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,20 +11,14 @@ "nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix", "nix.enableLanguageServer": true, "nix.formatterPath": "nixpkgs-fmt", - "nix.serverPath": "nil", + "nix.serverPath": "nixd", "nix.serverSettings": { - "nil": { + "nixd": { "formatting": { "command": [ "nixpkgs-fmt" ] }, - "nix": { - "flake": { - "autoEvalInputs": true, - "nixpkgsInputName": "nixpkgs" - } - } } }, "files.watcherExclude": { diff --git a/lib/dev-shell.nix b/lib/dev-shell.nix index 57521c5d..418f58a9 100644 --- a/lib/dev-shell.nix +++ b/lib/dev-shell.nix @@ -8,7 +8,7 @@ let cachix git-secret nixpkgs-fmt - unstable.nil + unstable.nixd agenixBin agenixFile ];