dotfiles/modules/nixos/desktop/fonts.nix

32 lines
548 B
Nix
Raw Normal View History

{ pkgs, ... }:
let
2024-09-23 07:49:12 +00:00
theme = import ../../../lib/theme { inherit pkgs; };
in
{
fonts = {
fontconfig = {
enable = true;
defaultFonts = {
monospace = [ theme.fonts.monospace.name ];
};
};
packages =
with pkgs;
[
(nerdfonts.override {
fonts = [
"AnonymousPro"
"FiraCode"
"GeistMono"
"IntelOneMono"
"Iosevka"
"JetBrainsMono"
];
})
]
++ [ theme.fonts.monospace.package ];
};
}