about summary refs log tree commit diff
path: root/nix/hosts/common/macos.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
committerFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
commit357fbda2bb2400a52f8dec61b66342b92fa945ae (patch)
treeb81c4ea017372f086963094903a01ac5e56a98ef /nix/hosts/common/macos.nix
parentinstall font dejavu (diff)
downloadworld-357fbda2bb2400a52f8dec61b66342b92fa945ae.tar.gz
move machine configurations under darwin and nixos
Don't manage fonts on Darwin with homebrew.
Diffstat (limited to '')
-rw-r--r--nix/hosts/darwin/macos.nix (renamed from nix/hosts/common/macos.nix)12
1 files changed, 11 insertions, 1 deletions
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;