From e5cf3d49ad536b9ccb6f21a41a1363ca37a6a484 Mon Sep 17 00:00:00 2001 From: Jo Date: Tue, 16 Dec 2025 03:19:58 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20incorrect=20usage=20of=20m?= =?UTF-8?q?kIf=20(oops)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/home/apps/zed/default.nix | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/modules/home/apps/zed/default.nix b/modules/home/apps/zed/default.nix index e9588f1..8c60535 100644 --- a/modules/home/apps/zed/default.nix +++ b/modules/home/apps/zed/default.nix @@ -135,28 +135,21 @@ in } ]; - extraPackages = with pkgs; [ - ### Nix - (mkIf cfg.enable-nix [ + extraPackages = + with pkgs; + [ oxlint ] + ++ lib.optionals cfg.enable-nix [ nixd nixfmt-rfc-style - ]) - - ### Python - (mkIf cfg.enable-python [ + ] + ++ lib.optionals cfg.enable-python [ python3Packages.python-lsp-server - ]) - - ### PHP - (mkIf cfg.enable-php [ + ] + ++ lib.optionals cfg.enable-php [ php phpPackages.composer pretty-php - ]) - - ### TypeScript/JavaScript - oxlint - ]; + ]; }; }; }