aboutsummaryrefslogtreecommitdiff
path: root/home/wezterm.nix
blob: 6a86aaed5857102973984d8a9a7e1cde6f4f85a2 (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
28
29
30
31
32
33
34
35
36
37
38
{ ... }:

{
  programs.wezterm = {
    enable = true;

    extraConfig = ''
      local wezterm = require("wezterm")
      -- local catppuccin = require("colors/catppuccin")

      local config = {
        default_cursor_style = "SteadyBar",

        -- Correct way: main font + emoji as fallback
        font = wezterm.font_with_fallback {
          "LythMono Nerd Font",
          "NotoColorEmoji Regular",
        },

        font_size = 16.0,

        enable_tab_bar = false,
        enable_wayland = true,
        window_background_opacity = 0.9,
        window_close_confirmation = "NeverPrompt",
        default_prog = { "zsh" },

        -- Use built-in Catppuccin (recommended, simpler)
        color_scheme = "Catppuccin Mocha",

        -- If you prefer your custom colors file instead:
        -- colors = catppuccin.mocha,
      }

      return config
    '';
  };
}