2025-06-09 10:47:34 +08:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
config,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}: let
|
|
|
|
|
cfg = config.david.programs.helix;
|
|
|
|
|
in {
|
|
|
|
|
options = {
|
|
|
|
|
david.programs.helix = {
|
|
|
|
|
enable = lib.mkEnableOption "helix";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
|
youthlic.programs.helix = {
|
|
|
|
|
enable = true;
|
|
|
|
|
extraPackages = with pkgs; [
|
2025-06-09 15:30:31 +08:00
|
|
|
editor-runtime
|
2025-06-09 10:47:34 +08:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|