{
  pkgs,
  flake,
  lib,
  ...
}:
{
  programs.helix =
    let
      configPath = ./config;
      settingsPath = import (configPath + /settings.nix);
      languagesPath = import (configPath + /languages.nix) { inherit pkgs lib flake; };
    in
    {
      enable = true;
      # package = flake.inputs.helix.packages.${pkgs.system}.default;
      languages = languagesPath;
      settings = settingsPath;
    };
}
