dotfiles/modules/home/cli/development/editing/helix/default.nix

21 lines
414 B
Nix
Raw Normal View History

2025-10-01 19:51:55 -05:00
{
pkgs,
flake,
2025-10-03 21:13:17 -05:00
lib,
2025-10-01 19:51:55 -05:00
...
}:
{
programs.helix =
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix);
2025-10-03 21:13:17 -05:00
languagesPath = import (configPath + /languages.nix) { inherit pkgs lib flake; };
2025-10-01 19:51:55 -05:00
in
{
enable = true;
package = flake.inputs.helix.packages.${pkgs.system}.default;
languages = languagesPath;
settings = settingsPath;
};
}