all repos — nixfiles @ 64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f

System and user configuration, managed by nix and home-manager

darwin: use/build aarch64 packages by default
Alan Pearce alan@alanpearce.eu
Wed, 05 Apr 2023 20:37:41 +0200
commit

64b48bfb0a8a958d113b7a4ce31ee765f9ab9d9f

parent

afc5b101c15faa2e2759e8c11fbdf5c17d0008d8

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M system/settings/darwin.nixsystem/settings/darwin.nix
@@ -15,12 +15,11 @@ automatic = true;       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;
   };