From b907855018bdc7fa92f7f36a9fa9a09bfbb7498c Mon Sep 17 00:00:00 2001 From: foosinn Date: Sat, 12 Feb 2022 01:06:27 +0100 Subject: [PATCH] cleanup font handling --- dotfiles/alacritty.yml | 2 +- dotfiles/sway/config | 2 +- roles/desktop.nix | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dotfiles/alacritty.yml b/dotfiles/alacritty.yml index 6fa9a64..eac8077 100644 --- a/dotfiles/alacritty.yml +++ b/dotfiles/alacritty.yml @@ -1,6 +1,6 @@ font: normal: - family: Cascadia Code + family: CaskaydiaCove Nerd Font size: 12 background_opacity: 0.9 diff --git a/dotfiles/sway/config b/dotfiles/sway/config index 2e6775e..74e9834 100644 --- a/dotfiles/sway/config +++ b/dotfiles/sway/config @@ -53,7 +53,7 @@ for_window [title="pyCalc"] floating enable for_window [title="insect"] floating enable # font -font Cascadia Code 10 +#font pango:CaskaydiaCove Nerd Font Mono 10 # colors set $black #2d2a2e diff --git a/roles/desktop.nix b/roles/desktop.nix index b6f1955..2151945 100644 --- a/roles/desktop.nix +++ b/roles/desktop.nix @@ -72,14 +72,14 @@ in { fonts.enableDefaultFonts = true; fonts.fontconfig.antialias = true; fonts.fonts = with pkgs; [ - cascadia-code + corefonts emacs-all-the-icons-fonts fira-code - fira-code-symbols - font-awesome - meslo-lg noto-fonts noto-fonts-emoji + (nerdfonts.override { + fonts = [ "CascadiaCode" "Meslo" ]; + }) ]; nixpkgs.config.allowUnfree = true;