From 48e3a85c82cee194f46d0764428e166a46186f33 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Wed, 29 May 2024 15:22:04 +0100 Subject: [PATCH] [tohru] set up nix formatting in IDE --- hosts/tohru/home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/tohru/home.nix b/hosts/tohru/home.nix index 843aca2..42e6d8a 100644 --- a/hosts/tohru/home.nix +++ b/hosts/tohru/home.nix @@ -45,6 +45,10 @@ "git.autofetch" = true; "nix.enableLanguageServer" = true; "nix.serverPath" = "nil"; + "nix.serverSettings".nil = { + diagnostics.ignored = [ "unused_binding" "unused_with" ]; + formatting.command = [ "nixpkgs-fmt" ]; + }; "workbench.colorTheme" = "SynthWave '84"; }; };