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; }; }