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