fix(fonts): actually use monospace font
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-03-11 21:07:56 -04:00
parent 85035da7a1
commit 64ed35b347
3 changed files with 10 additions and 10 deletions

View file

@ -12,9 +12,10 @@ in {
fonts = { fonts = {
fontconfig = { fontconfig = {
enable = true; enable = true;
defaultFonts = { defaultFonts = {
emoji = ["Noto Color Emoji"]; emoji = ["Noto Color Emoji"];
monospace = ["JetBrainsMono Nerd Font"]; monospace = ["JetBrainsMono Nerd Font Mono"];
sansSerif = ["Noto Nerd Font"]; sansSerif = ["Noto Nerd Font"];
serif = ["Noto Nerd Font"]; serif = ["Noto Nerd Font"];
}; };

View file

@ -20,7 +20,7 @@ in {
fontDpi = mkOption { fontDpi = mkOption {
type = types.numbers.nonnegative; type = types.numbers.nonnegative;
default = 170; default = 130;
}; };
}; };
@ -29,7 +29,6 @@ in {
useXkbConfig = true; useXkbConfig = true;
hwRender = false; hwRender = false;
# TODO: https://github.com/Aetf/kmscon/issues/18 find workaround with more spaces?
extraOptions = concatStringsSep " " [ extraOptions = concatStringsSep " " [
"--font-size ${toString cfg.fontSize}" "--font-size ${toString cfg.fontSize}"
"--font-dpi ${toString cfg.fontDpi}" "--font-dpi ${toString cfg.fontDpi}"