diff --git a/modules/home/appearance/base/default.nix b/modules/home/appearance/base/default.nix index 3f572eb..aae0793 100644 --- a/modules/home/appearance/base/default.nix +++ b/modules/home/appearance/base/default.nix @@ -2,9 +2,11 @@ lib, config, pkgs, + system, ... }: let inherit (lib) mkEnableOption mkIf; + inherit (lib.snowfall.system) is-linux; inherit (lib.marleyos) enabled; cfg = config.marleyos.appearance.base; @@ -17,6 +19,8 @@ in { home.packages = with pkgs; [ # TODO: package font with harfbuzz features. maple-mono-NF + dm-sans + eb-garamond ]; rose-pine.pointerCursor = mkIf colors.isRosePine enabled; @@ -47,9 +51,13 @@ in { else pkgs.pinentry-curses; }; - fonts.fontconfig = { + fonts.fontconfig = mkIf (is-linux system) { enable = true; - defaultFonts.monospace = ["Maple Mono NF"]; + defaultFonts = { + monospace = ["Maple Mono NF"]; + sansSerif = ["DeepMind Sans"]; # dm-sans + serif = ["EB Garamond"]; + }; }; }; }