From a7d857d757eb6537b885b0a05765702f228ecbea Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 28 Aug 2024 15:41:53 +0200 Subject: [PATCH] remove nerd font as wezterm bundles it --- home/base/programs/wezterm.nix | 18 +----------------- home/base/shell/starship.nix | 6 +++--- modules/stylix.nix | 4 ++-- 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/home/base/programs/wezterm.nix b/home/base/programs/wezterm.nix index deb1c1e..8a9b257 100644 --- a/home/base/programs/wezterm.nix +++ b/home/base/programs/wezterm.nix @@ -10,23 +10,7 @@ front_end = "WebGpu", enable_tab_bar = false, enable_wayland = false, - font = wezterm.font_with_fallback { - { family = "MonaspiceNe Nerd Font", - harfbuzz_features = { - 'calt', - 'liga', - 'ss01', -- ligatures related to the equals glyph like != and ===. - 'ss02', -- ligatures related to the greater than or less than operators. - 'ss03', -- ligatures related to arrows like -> and =>. - 'ss04', -- ligatures related to markup, like . - 'ss05', -- ligatures related to the F# programming language, like |>. - 'ss06', -- ligatures related to repeated uses of # such as ## or ###. - 'ss07', -- ligatures related to the asterisk like ***. - 'ss08', -- ligatures related to combinations like .= or .-. - 'ss09', -- ligatures related to combinations of the greater/less than and equals signs, like <=>,>>, and =<<. - } - } - } + harfbuzz_features = { "ss01", "ss03" }, } ''; }; diff --git a/home/base/shell/starship.nix b/home/base/shell/starship.nix index 953355e..5730b98 100644 --- a/home/base/shell/starship.nix +++ b/home/base/shell/starship.nix @@ -14,9 +14,9 @@ # Starship modules character = { # Note the use of Catppuccin color 'peach' - success_symbol = "[[󰄛](green) ❯](peach)"; - error_symbol = "[[󰄛](red) ❯](peach)"; - vimcmd_symbol = "[󰄛 ❮](subtext1)"; + success_symbol = "[[󰄛 ](green) ❯](peach)"; + error_symbol = "[[󰄛 ](red) ❯](peach)"; + vimcmd_symbol = "[󰄛 ❮](subtext1)"; }; git_branch = { diff --git a/modules/stylix.nix b/modules/stylix.nix index 4b4b98b..440d58c 100644 --- a/modules/stylix.nix +++ b/modules/stylix.nix @@ -22,8 +22,8 @@ name = "Noto Sans"; }; monospace = { - package = pkgs.nerdfonts.override { fonts = [ "Monaspace" ]; }; - name = "MonaspiceNe Nerd Font Mono"; + package = pkgs.intel-one-mono; + name = "Intel One Mono"; }; emoji = { package = pkgs.noto-fonts-color-emoji;