This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
nil/modules/system/fonts.nix

29 lines
620 B
Nix
Raw Permalink Normal View History

{ config, lib, pkgs, ... }:
2022-08-14 02:42:04 +00:00
let graphical = config.my.graphical;
in {
config = lib.mkIf graphical.enable {
fonts = {
enableDefaultFonts = true;
fonts = with pkgs; [
alegreya
fira-code
fira-code-symbols
2022-03-10 15:08:58 +00:00
font-awesome
2022-05-03 04:09:21 +00:00
(nerdfonts.override { fonts = [ "Hasklig" ]; })
inter
liberation_ttf
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
];
fontconfig = {
defaultFonts = {
serif = [ "inter" ];
sansSerif = [ "alegreya" ];
monospace = [ "hasklig" ];
};
};
};
};
}