From 38f62cdff6e084b1d39b85cb123a0d016cb2d93f Mon Sep 17 00:00:00 2001 From: larstvei Date: Sun, 6 Oct 2024 22:23:30 +0200 Subject: [PATCH] Separate out fonts And also remove all but the fonts i use for everything. --- modules/fonts.nix | 7 +++++++ modules/macos.nix | 11 +---------- 2 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 modules/fonts.nix diff --git a/modules/fonts.nix b/modules/fonts.nix new file mode 100644 index 0000000..3d38531 --- /dev/null +++ b/modules/fonts.nix @@ -0,0 +1,7 @@ +{ pkgs }: +with pkgs; +[ + source-sans + source-code-pro + source-serif +] diff --git a/modules/macos.nix b/modules/macos.nix index e9a114d..6c4b19a 100644 --- a/modules/macos.nix +++ b/modules/macos.nix @@ -1,16 +1,7 @@ { pkgs, lib, ... }: { - fonts.packages = with pkgs; [ - fira - fira-code - iosevka - roboto - roboto-mono - source-sans - source-code-pro - source-serif - ]; + fonts.packages = import ./fonts.nix { inherit pkgs; }; users.users."larstvei".home = "/Users/larstvei";