My nixos configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

do wezterm via HM

+45
+45
home/modules/wezterm/default.nix
··· 1 + _: { 2 + config, 3 + pkgs, 4 + ... 5 + }: { 6 + home.packages = [pkgs.wezterm]; 7 + 8 + xdg.configFile."wezterm/wezterm.lua".text = 9 + # lua 10 + '' 11 + -- Pull in the wezterm API 12 + local wezterm = require 'wezterm' 13 + 14 + -- This table will hold the configuration. 15 + local config = {} 16 + 17 + -- In newer versions of wezterm, use the config_builder which will 18 + -- help provide clearer error messages 19 + if wezterm.config_builder then 20 + config = wezterm.config_builder() 21 + end 22 + 23 + -- This is where you actually apply your config choices 24 + 25 + -- For example, changing the color scheme: 26 + config.color_scheme = "Catppuccin Mocha" 27 + 28 + -- disable ligatures 29 + config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' } 30 + 31 + -- set the font 32 + config.font_dirs = { '/home/nmelzer/.nix-profile/share/fonts/otf' } 33 + config.font_size = 11.0 * 1.25 34 + config.font = wezterm.font("Departure Mono") 35 + 36 + -- setting up keybindings 37 + config.keys = { 38 + -- The default is `C-Z` (so also pressing SHIFT), I prefer to not have SHIFT pressed 39 + { key = 'z', mods = 'CTRL', action = wezterm.action.TogglePaneZoomState, }, 40 + } 41 + 42 + -- and finally, return the configuration to wezterm 43 + return config 44 + ''; 45 + }