diff --git a/config/wezterm/wezterm.lua b/config/wezterm/wezterm.lua new file mode 100644 index 00000000..521d32df --- /dev/null +++ b/config/wezterm/wezterm.lua @@ -0,0 +1,24 @@ +-- Pull in the wezterm API +local wezterm = require("wezterm") + +-- This will hold the configuration. +local config = wezterm.config_builder() + +-- This is where you actually apply your config choices +config.enable_tab_bar = false + +config.window_frame = { + + font = wezterm.font({ family = "JetBrainsMono NF" }), + font_size = 12.0, +} + +config.window_padding = { + left = 20, + right = 20, + top = 20, + bottom = 20, +} + +-- and finally, return the configuration to wezterm +return config diff --git a/modules/desktop/wezterm/default.nix b/modules/desktop/wezterm/default.nix index 2d6a7ba8..5bc4a0ca 100644 --- a/modules/desktop/wezterm/default.nix +++ b/modules/desktop/wezterm/default.nix @@ -16,5 +16,10 @@ in { users.users.sako.packages = with pkgs; [ wezterm ]; + + home.file.".wezterm.lua" = { + enable = true; + source = ../../../config/wezterm/wezterm.lua; + }; }; }