about summary refs log tree commit diff
path: root/nix/hosts/common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nix/hosts/darwin/homebrew.nix (renamed from nix/hosts/common/homebrew.nix)9
-rw-r--r--nix/hosts/darwin/macos.nix (renamed from nix/hosts/common/macos.nix)12
2 files changed, 12 insertions, 9 deletions
diff --git a/nix/hosts/common/homebrew.nix b/nix/hosts/darwin/homebrew.nix
index 1ba4a93..0840b06 100644
--- a/nix/hosts/common/homebrew.nix
+++ b/nix/hosts/darwin/homebrew.nix
@@ -19,7 +19,7 @@
       "kubebuilder"
     ];
 
-    taps = [ "homebrew/cask-fonts" "hashicorp/tap" ];
+    taps = [ "hashicorp/tap" ];
 
     casks = [
       "1password-cli"
@@ -31,13 +31,6 @@
       "vlc"
       "wireshark"
       "zoom"
-
-      # fonts
-      "font-go"
-      "font-source-code-pro"
-      "font-source-sans-3"
-      "font-source-serif-4"
-      "font-dejavu"
     ];
   };
 }
diff --git a/nix/hosts/common/macos.nix b/nix/hosts/darwin/macos.nix
index e764129..36f680a 100644
--- a/nix/hosts/common/macos.nix
+++ b/nix/hosts/darwin/macos.nix
@@ -1,4 +1,4 @@
-{ ... }: {
+{ pkgs, ... }: {
   system.defaults.dock.autohide = true;
   system.defaults.dock.orientation = "left";
   system.defaults.dock.showhidden = false;
@@ -9,6 +9,16 @@
   system.defaults.screencapture.location = "~/Documents/screenshots";
   system.defaults.SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true;
 
+  fonts.packages = with pkgs; [
+    emacs-all-the-icons-fonts
+    google-fonts
+    roboto
+    source-code-pro
+    source-serif-pro
+    source-sans-pro
+    go-font
+  ];
+
   system.keyboard = {
     enableKeyMapping = true;
     remapCapsLockToControl = true;