Switch to pre-packaged Iosevka Nerd Font for now so I can use the Propo variant

This commit is contained in:
Evie Litherland-Smith 2024-10-30 07:46:58 +00:00
parent 0f0b82837b
commit 6477e0c054
2 changed files with 85 additions and 102 deletions

View file

@ -232,8 +232,8 @@
name = inputs.iosevka-custom.outputs.names.iosevka-custom-aile;
};
monospace = {
package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-nerdfont;
name = inputs.iosevka-custom.outputs.names.iosevka-custom-nerdfont;
package = pkgs.nerdfonts.override { fonts = [ "Iosevka" ]; };
name = "Iosevka Nerd Font Propo";
};
sizes = {
applications = 12;
@ -243,27 +243,10 @@
};
};
};
fonts = {
packages =
(with config.stylix.fonts; [
serif.package
sansSerif.package
monospace.package
emoji.package
])
++ (with pkgs; [
liberation_ttf # General compatibility
fonts.packages = with pkgs; [
dejavu_fonts # General compatibility
liberation_ttf # Documents
lmodern # LaTeX
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
]);
fontconfig = {
enable = true;
defaultFonts = with config.stylix.fonts; {
serif = [ serif.name ];
sansSerif = [ sansSerif.name ];
monospace = [ monospace.name ];
emoji = [ emoji.name ];
};
};
};
];
}