From 64a2492ddb64cc3abd0def0565bf62c37e646c64 Mon Sep 17 00:00:00 2001 From: Origami404 Date: Sat, 22 Jun 2024 15:22:32 +0800 Subject: [PATCH] add fonts --- configuration.nix | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index 9a5ddf0..c90102a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -103,14 +103,26 @@ lsof # list open files # Desktop Utils - kitty # Terminal emulator - wofi # Application runner chromium # Web browser - dunst # Notication daemon - pipewire # Sound manager - wireplumber - waybar # Status bar + gnome3.gnome-tweaks ]; + + fonts = { + enableDefaultPackages = false; + packages = with pkgs; [ + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + lxgw-wenkai + (nerdfonts.override { fonts = [ "CascadiaCode" ]; }) + ]; + fontconfig.defaultFonts = pkgs.lib.mkForce { + serif = [ "Noto Serif CJK SC Bold" "Noto Serif" ]; + sansSerif = [ "Noto Sans CJK SC Bold" "Noto Sans" ]; + monospace = [ "CaskaydiaCove Nerd" ]; + emoji = [ "Noto Color Emoji" ]; + }; + }; #programs.hyprland.enable = true;