summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2023-04-05 20:37:41 +0200
committerAlan Pearce2023-04-05 20:37:41 +0200
commit64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f (patch)
treef94dcd9ba1382e3661e15eda7d559ef7afeaff36 /system
parentafc5b101c15faa2e2759e8c11fbdf5c17d0008d8 (diff)
downloadnixfiles-64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f.tar.lz
nixfiles-64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f.tar.zst
nixfiles-64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f.zip
darwin: use/build aarch64 packages by default
Diffstat (limited to 'system')
-rw-r--r--system/settings/darwin.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index cdcdb413..4977c19b 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -15,12 +15,11 @@
       user = "alan";
       options = "--max-freed $((25 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | awk '{ print $4 }')))";
     };
-    settings.extra-platforms = "x86_64-darwin aarch64-darwin";
+    settings.extra-platforms = "aarch64-darwin x86_64-darwin";
     settings.experimental-features = "nix-command flakes";
     settings.warn-dirty = false;
   };
 
-  nixpkgs.system = "x86_64-darwin";
   nixpkgs.config = {
     allowUnfree = true;
   };