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

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

View file

@ -13,19 +13,23 @@
};
polarity = "dark";
cursor = {
package = pkgs.whitesur-cursors;
name = "whitesur-cursors";
size = 16;
package = pkgs.apple-cursor;
name = "macOS";
size = 20;
};
fonts = {
sizes = {
terminal = 9;
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
];
}