Skip to content

Commit

Permalink
Wezterm uses system font
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustXVI committed Nov 8, 2024
1 parent 7488d9d commit b645712
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/system/home-manager/shells/wezterm.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{ ... }:
{ lib, config,... }:
let
font = lib.lists.head config.fonts.fontconfig.defaultFonts.monospace;
in
{
programs.wezterm = {
enable = true;
extraConfig = ''
return {
font = wezterm.font 'Fira Code',
font = wezterm.font "${font}",
font_size = 18,
scrollback_lines = 20000,
color_scheme = 'Darcula (base16)',
Expand Down

0 comments on commit b645712

Please sign in to comment.