about summary refs log tree commit diff
path: root/modules/darwin/fonts.nix
blob: c52d73e45e39fc4926ea4aa398eed08c25cfe85c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  config,
  lib,
  ...
}:
with lib; let
  cfg = config.nixfiles.modules.fonts;
in {
  config = mkIf cfg.enable {
    fonts = {
      fonts = cfg.packages;

      fontDir.enable = true;
    };
  };
}

Consider giving Nix/NixOS a try! <3