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";