nixcfg/home/features/desktop/fonts.nix
nomadics9 16170bdebc init
2024-10-06 19:48:10 +03:00

26 lines
457 B
Nix

{ config
, lib
, pkgs
, ...
}:
with lib; let
cfg = config.features.desktop.fonts;
in
{
options.features.desktop.fonts.enable =
mkEnableOption "install additional fonts for desktop apps";
config = mkIf cfg.enable {
home.packages = with pkgs; [
fira-code
fira-code-symbols
fira-code-nerdfont
font-manager
font-awesome_5
font-awesome
noto-fonts-emoji
noto-fonts
jetbrains-mono
];
};
}