nix-configurations/home/features/desktop/fonts.nix

23 lines
425 B
Nix
Raw Normal View History

2022-12-30 12:05:46 +00:00
{ config, lib, pkgs, ... }:
with lib;
2023-02-05 13:36:38 +00:00
let cfg = config.features.desktop.extrafonts;
2022-12-30 12:05:46 +00:00
in {
2023-02-05 13:36:38 +00:00
options.features.desktop.extrafonts.enable = mkEnableOption "install additional fonts for desktop apps";
2022-12-30 12:05:46 +00:00
config = mkIf cfg.enable {
home.packages = with pkgs; [
2023-02-01 11:38:23 +00:00
emacs-all-the-icons-fonts
2022-12-30 12:05:46 +00:00
fira-code
fira-code-symbols
font-manager
font-awesome
font-awesome_4
noto-fonts
];
};
}