nixos-config/components/gui/fonts.nix

37 lines
603 B
Nix
Raw Normal View History

2023-06-30 20:59:11 +02:00
{ pkgs, config, lib, ... }:
with lib;
{
options.components.gui.style.enable = mkOption {
type = lib.types.bool;
default = config.components.gui.enable;
};
config = mkIf (config.components.gui.style.enable) {
2023-12-08 22:47:37 +01:00
fonts.packages = with pkgs; [
2023-06-30 20:59:11 +02:00
corefonts
hasklig
inconsolata
source-code-pro
symbola
ubuntu_font_family
# symbol fonts
# ------------
nerdfonts
powerline-fonts
font-awesome
fira-code-symbols
jetbrains-mono
# shell font
# ----------
terminus_font
gohufont
];
};
}