From 3a4a2a8c6f214d9f32e88ed08142b8ddc95e888c Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 2 Jul 2023 16:39:12 +0900 Subject: [PATCH] Fonts --- common/dotfiles/firefox.nix | 1 + configuration.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/common/dotfiles/firefox.nix b/common/dotfiles/firefox.nix index 52310b86..06d2b72d 100644 --- a/common/dotfiles/firefox.nix +++ b/common/dotfiles/firefox.nix @@ -37,6 +37,7 @@ "services.sync.prefs.sync.browser.newtabpage.enabled" = "false"; }; + # https://nur.nix-community.org/repos/rycee/ extensions = with pkgs.nur.repos.rycee.firefox-addons; [ privacy-badger decentraleyes diff --git a/configuration.nix b/configuration.nix index 2eaee05a..8733379b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -153,6 +153,25 @@ options = "--delete-older-than 7d"; }; + + + # Fonts + fontconfig = { + defaultFonts = { + emoji = [ "Noto Color Emoji" ]; + monospace = [ "JetBrainsMono Nerd Font" "Cascadia Code" "Sarasa Mono SC" ]; + sansSerif = [ "Arimo Nerd Font" "Sarasa Gothic SC" ]; + serif = [ "Arimo Nerd Font" "Sarasa Gothic SC" ]; + }; + includeUserConf = false; + }; + fonts = with pkgs; [ + cascadia-code + (nerdfonts.override { fonts = [ "Arimo" "JetBrainsMono" ]; }) + noto-fonts-emoji + sarasa-gothic + ]; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave