From aa02790ff9b2ac051b4506ebd1462ddec69ef4ae Mon Sep 17 00:00:00 2001 From: Tucker Shea Date: Wed, 3 Jul 2024 18:37:39 -0400 Subject: [PATCH] Update Darwin Fonts (#36) --- hosts/common/optional/fonts.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/optional/fonts.nix b/hosts/common/optional/fonts.nix index 60d957f..eef4963 100644 --- a/hosts/common/optional/fonts.nix +++ b/hosts/common/optional/fonts.nix @@ -1,5 +1,5 @@ -{pkgs, ...}: { - fonts.fontDir.enable = true; +{pkgs, lib, ...}: { + fonts.fontDir.enable = lib.mkIf pkgs.stdenv.isLinux true; fonts.packages = with pkgs; [ recursive (nerdfonts.override {fonts = ["JetBrainsMono"];})