From b303fd5c12cc4e13c3cbc7d22af07a772016a21b Mon Sep 17 00:00:00 2001 From: Isaac Corbrey Date: Wed, 17 Jun 2026 23:16:49 -0400 Subject: [PATCH] gleam: Add home module resolve gleam.nix conflict --- modules/home/gleam.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/home/gleam.nix b/modules/home/gleam.nix index 941aaa1..48b0b00 100644 --- a/modules/home/gleam.nix +++ b/modules/home/gleam.nix @@ -15,6 +15,7 @@ config = let gleam = config.modules.home.gleam; + helix = config.modules.home.helix; in lib.mkIf gleam.enable { home.packages = @@ -26,5 +27,15 @@ ++ [ pkgs.gleam ]; + + programs.helix.languages.language = lib.mkIf helix.enable [ + { + name = "gleam"; + formatter = { + command = "gleam"; + args = ["format" "--stdin"]; + }; + } + ]; }; } -- 2.51.2