2022-10-13 22:13:43 -04:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let nc = config.nathan.config;
|
|
|
|
in with lib; {
|
|
|
|
# Generic desktop configuration
|
|
|
|
config = mkIf nc.fonts {
|
|
|
|
fonts.fonts = with pkgs; [
|
|
|
|
## Monospace Fonts
|
|
|
|
# FiraCode with nerd-fonts patch, as well as fira-code symbols for emacs
|
2023-03-14 12:42:56 -04:00
|
|
|
(nerdfonts.override { fonts = [ "FiraCode" "Iosevka" ]; })
|
2022-10-13 22:13:43 -04:00
|
|
|
fira-code-symbols
|
|
|
|
fira
|
|
|
|
# Proportional
|
|
|
|
roboto
|
|
|
|
liberation_ttf
|
|
|
|
noto-fonts
|
2023-03-14 12:42:56 -04:00
|
|
|
(iosevka.override {
|
|
|
|
privateBuildPlan = ''
|
|
|
|
[buildPlans.iosevka-sans-quasi]
|
|
|
|
family = "Iosevka Sans Quasi"
|
|
|
|
spacing = "quasi-proportional"
|
|
|
|
serifs = "sans"
|
|
|
|
no-cv-ss = true
|
|
|
|
export-glyph-names = false'';
|
|
|
|
set = "sans-quasi";
|
|
|
|
})
|
2022-10-13 22:13:43 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|