From b30410e74760cdf72bd9827b7f8867971afa012b Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 15 Jun 2024 17:24:21 +0100 Subject: [PATCH] added fontconfig back --- home/common/core/fonts.nix | 2 +- home/common/optional/desktop/common/default.nix | 1 + home/common/optional/desktop/common/fontconfig.nix | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 home/common/optional/desktop/common/fontconfig.nix diff --git a/home/common/core/fonts.nix b/home/common/core/fonts.nix index 41134f4..546a665 100644 --- a/home/common/core/fonts.nix +++ b/home/common/core/fonts.nix @@ -2,13 +2,13 @@ { fonts.fontconfig.enable = true; home.packages = with pkgs; [ + nerdfonts noto-fonts noto-fonts-cjk noto-fonts-emoji hack-font liberation_ttf libertine - nerdfonts font-awesome ]; diff --git a/home/common/optional/desktop/common/default.nix b/home/common/optional/desktop/common/default.nix index de06d13..b989fba 100644 --- a/home/common/optional/desktop/common/default.nix +++ b/home/common/optional/desktop/common/default.nix @@ -3,6 +3,7 @@ ./firefox.nix ./alacritty.nix ./zotero.nix + ./fontconfig.nix ]; # Global packages for desktop environments diff --git a/home/common/optional/desktop/common/fontconfig.nix b/home/common/optional/desktop/common/fontconfig.nix new file mode 100644 index 0000000..56aa104 --- /dev/null +++ b/home/common/optional/desktop/common/fontconfig.nix @@ -0,0 +1,11 @@ +{ ... }: { + fonts = { + fontconfig = { + defaultFonts = { + serif = [ "NotoSans Nerd Font" ]; + sansSerif = [ "Linux Biolinum O" ]; + monospace = [ "Hack Nerd Font" ]; + }; + }; + }; +}