diff --git a/roles/common/programs/helix.nix b/roles/common/programs/helix.nix index c5ea603..38e7d22 100644 --- a/roles/common/programs/helix.nix +++ b/roles/common/programs/helix.nix @@ -25,17 +25,14 @@ indent-guides.render = true; }; }; - }; - # The builtin languages options have issues - # https://github.com/nix-community/home-manager/issues/3299 - xdg.configFile."helixLanguages" = { - target = "helix/languages.toml"; - text = '' - [language-server.nil] - config.nil.formatting.command = [ "nixpkgs-fmt" ] - [[language]] - name = "nix" - ''; + languages = { + language = [ + { + name = "nix"; + formatter.command = "nixpkgs-fmt"; + } + ]; + }; }; }; }