From c8efd18a3a05d0a0d68403bae7e98ef892cf456c Mon Sep 17 00:00:00 2001 From: materus Date: Tue, 23 May 2023 00:11:56 +0200 Subject: [PATCH] os-profile: change fonts settings --- configurations/profile/os/fonts.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configurations/profile/os/fonts.nix b/configurations/profile/os/fonts.nix index fe95b68..08f4add 100644 --- a/configurations/profile/os/fonts.nix +++ b/configurations/profile/os/fonts.nix @@ -9,16 +9,16 @@ in config = lib.mkIf cfg.enable { fonts.fonts = packages.list.fonts ++ packages.list.moreFonts; - fonts.enableDefaultFonts = lib.mkDefault true; + fonts.enableDefaultFonts = lib.mkForce true; - fonts.fontconfig.enable = lib.mkDefault true; - fonts.fontconfig.cache32Bit = lib.mkDefault true; + fonts.fontconfig.enable = lib.mkForce true; + fonts.fontconfig.cache32Bit = lib.mkForce true; - fonts.fontconfig.defaultFonts.sansSerif = lib.mkDefault [ "Noto Sans" "DejaVu Sans" "WenQuanYi Zen Hei" "Noto Color Emoji" ]; - fonts.fontconfig.defaultFonts.serif = lib.mkDefault [ "Noto Serif" "DejaVu Serif" "WenQuanYi Zen Hei" "Noto Color Emoji" ]; - fonts.fontconfig.defaultFonts.emoji = lib.mkDefault [ "Noto Color Emoji" "OpenMoji Color" ]; - fonts.fontconfig.defaultFonts.monospace = lib.mkDefault [ "FiraCode Nerd Font Mono" "Noto Sans Mono" "WenQuanYi Zen Hei Mono" ]; + fonts.fontconfig.defaultFonts.sansSerif = [ "Noto Sans" "DejaVu Sans" "WenQuanYi Zen Hei" "Noto Color Emoji" ]; + fonts.fontconfig.defaultFonts.serif = [ "Noto Serif" "DejaVu Serif" "WenQuanYi Zen Hei" "Noto Color Emoji" ]; + fonts.fontconfig.defaultFonts.emoji = [ "Noto Color Emoji" "OpenMoji Color" ]; + fonts.fontconfig.defaultFonts.monospace = [ "FiraCode Nerd Font Mono" "Noto Sans Mono" "WenQuanYi Zen Hei Mono" ]; - fonts.fontDir.enable = lib.mkDefault true; + fonts.fontDir.enable = lib.mkForce true; }; }