font fixes

This commit is contained in:
xunuwu 2025-01-24 17:34:29 +01:00
parent 1d61086191
commit 81d1cd5632
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
3 changed files with 17 additions and 11 deletions

View file

@ -91,6 +91,7 @@
rocmSupport = true; rocmSupport = true;
allowUnfreePredicate = pkg: allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"apple_cursor"
"steam" "steam"
"steam-unwrapped" "steam-unwrapped"
"discord" "discord"

View file

@ -11,6 +11,7 @@
noto-fonts noto-fonts
noto-fonts-emoji noto-fonts-emoji
source-code-pro source-code-pro
noto-fonts-cjk-sans
iosevka iosevka
nerd-fonts.symbols-only nerd-fonts.symbols-only
@ -31,9 +32,9 @@
enableDefaultPackages = false; enableDefaultPackages = false;
# user defined fonts # user defined fonts
fontconfig.defaultFonts = { # fontconfig.defaultFonts = {
monospace = ["DejaVu Sans Mono for Powerline"]; # monospace = ["DejaVu Sans Mono for Powerline"];
sansSerif = ["DejaVu Sans"]; # sansSerif = ["DejaVu Sans"];
}; # };
}; };
} }

View file

@ -13,19 +13,23 @@
}; };
polarity = "dark"; polarity = "dark";
cursor = { cursor = {
package = pkgs.whitesur-cursors; package = pkgs.apple-cursor;
name = "whitesur-cursors"; name = "macOS";
size = 16; size = 20;
}; };
fonts = { fonts = {
sizes = { sizes = {
terminal = 9; terminal = 9;
applications = 10; applications = 10;
}; };
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
monospace = {
package = pkgs.nerd-fonts.fira-code;
name = "FiraCode Nerd Font";
};
}; };
}; };
fonts.packages = [
self.packages.${pkgs.system}.cartograph-cf
];
} }