From 03030833284045a82554b310bdf59df3eec9d36a Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 16 Aug 2024 20:02:16 +0200 Subject: try to get chromium wayland fixup fonts for coding and Co. --- share/common.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'share/common.nix') diff --git a/share/common.nix b/share/common.nix index 178f285..8800174 100644 --- a/share/common.nix +++ b/share/common.nix @@ -366,6 +366,7 @@ in vscodium vulkan-tools wayland-utils + xorg.xlsclients zoxide zsh ]; @@ -463,7 +464,10 @@ in oldstandard paratype-pt-serif - # unicode coverage + # monospace coding and terminal fonts + cascadia-code + + # fonts with good unicode coverage as fallback noto-fonts noto-fonts-cjk-sans noto-fonts-cjk-serif @@ -478,9 +482,9 @@ in enable = true; defaultFonts = { emoji = [ "Noto Color Emoji" ]; - monospace = [ "MonaspiceNe Nerd Font Mono" "Noto Sans Mono" ]; - sansSerif = [ "Figtree" "Noto Sans" ]; - serif = [ "Spectral" "Noto Serif" ]; + monospace = [ "Cascadia Code" "Noto Sans Mono" ]; + sansSerif = [ "Inter" "Noto Sans" ]; + serif = [ "Crimson" "Noto Serif" ]; }; }; }; @@ -495,6 +499,9 @@ in # dconf is needed for gtk, see https://nixos.wiki/wiki/KDE programs.dconf.enable = true; + # https://nixos.wiki/wiki/Chromium - Wayland support on + environment.sessionVariables.NIXOS_OZONE_WL = "1"; + # ensure machine can send mails services.opensmtpd = { enable = true; -- cgit v1.2.3