summaryrefslogtreecommitdiff
path: root/users/seth/programs/ghostty.nix
blob: 0bf480b84f0b3fff8318389d3f8bd3e8cdbbdd19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ config, lib, ... }:

let
  cfg = config.seth.programs.ghostty;
in

{
  options.seth.programs.ghostty = {
    enable = lib.mkEnableOption "Ghostty configuration" // {
      default = config.seth.desktop.enable;
      defaultText = lib.literalExample "config.seth.desktop.enable";
    };
  };

  config = lib.mkIf cfg.enable {
    programs.ghostty = {
      enable = true;

      enableBashIntegration = true;
      enableFishIntegration = true;

      settings = {
        bold-is-bright = true;
      };
    };
  };
}