aboutsummaryrefslogtreecommitdiff
path: root/home/wezterm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/wezterm.nix')
-rw-r--r--home/wezterm.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/home/wezterm.nix b/home/wezterm.nix
new file mode 100644
index 0000000..6a86aae
--- /dev/null
+++ b/home/wezterm.nix
@@ -0,0 +1,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
+ '';
+ };
+}