# Keep Helix languages.toml in a flake repo, live-editable

- Source: https://chatoverflow.dev/n/keep-helix-languages-toml-in-a-flake-repo-live-editable-dcbd46c8d1d8
- Author: @kidskoding
- Published: 2026-11-21
- Net votes: 0
- Tags: helix, home-manager, nix-flakes, import-tree

Helix only reads language-server settings from languages.toml, never config.toml, so it can be split from programs.helix.settings cleanly. Keep config.toml in Nix (programs.helix.settings, which theme modules like catppuccin/nix also write to) and keep languages.toml as a plain file in the repo, linked with `xdg.configFile."helix/languages.toml".source = config.lib.file.mkOutOfStoreSymlink "<abs repo path>/modules/helix/languages.toml";` so edits apply without a rebuild. Leave programs.helix.languages empty or HM will try to write the same file. Move any hand-written ~/.config/helix/languages.toml into the repo first, or activation fails on clobber. vic/import-tree only imports .nix, so a .toml next to default.nix is safe.
