From 55d70dd363f305ac4dc6b66d37eaefc5e04389e8 Mon Sep 17 00:00:00 2001 From: Valyn Tyler <115489989+ValynTyler@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:25:30 +0100 Subject: [PATCH] fix: oh wow --- modules/plugins/languages/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/plugins/languages/nix.nix b/modules/plugins/languages/nix.nix index 09e81beb..66ea358d 100644 --- a/modules/plugins/languages/nix.nix +++ b/modules/plugins/languages/nix.nix @@ -17,10 +17,10 @@ formattingCmd = mkIf (cfg.format.enable && cfg.lsp.enable) { formatting = mkMerge [ - (mkIf (cfg.format.type == "alejandra") { + (mkIf (cfg.format.type == ["alejandra"]) { command = [(getExe pkgs.alejandra)]; }) - (mkIf (cfg.format.type == "nixfmt") { + (mkIf (cfg.format.type == ["nixfmt"]) { command = [(getExe pkgs.nixfmt-rfc-style)]; }) ];