nixos/home/david/modules/programs/helix.nix

29 lines
461 B
Nix
Raw Normal View History

{
lib,
config,
pkgs,
...
2025-07-13 06:04:55 +08:00
}:
let
cfg = config.david.programs.helix;
2025-07-13 06:04:55 +08:00
in
{
options = {
david.programs.helix = {
enable = lib.mkEnableOption "helix";
};
};
config = lib.mkIf cfg.enable {
2025-07-01 23:17:40 +08:00
stylix.targets.helix.enable = false;
programs.helix.settings = {
2025-10-18 23:10:53 +08:00
theme = "papercolor-light";
2025-07-01 23:17:40 +08:00
};
youthlic.programs.helix = {
enable = true;
extraPackages = with pkgs; [
editor-runtime
];
};
};
}