From a4bac2b9ba2f9bd68032880da8ae6b44fbc46047 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Tue, 24 Jun 2025 17:06:11 +0100 Subject: [PATCH] helix: fix configuration file creation logic (#7319) without this change, an extraConfig file always gets created, even when none is specified --- modules/programs/helix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/helix.nix b/modules/programs/helix.nix index 1bd3eb8ec..8fa6e0daf 100644 --- a/modules/programs/helix.nix +++ b/modules/programs/helix.nix @@ -232,7 +232,7 @@ in settings = let hasSettings = cfg.settings != { }; - hasExtraConfig = cfg.extraConfig != null; + hasExtraConfig = cfg.extraConfig != ""; in { "helix/config.toml" = mkIf (hasSettings || hasExtraConfig) {