From fae6f7553608767f0ba24e7f30e6297901f8a7c7 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Mon, 2 Dec 2024 19:42:24 -0800 Subject: [PATCH] feat: Configuration for `sphalerite` --- flake.nix | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index c95110c..0bcbeff 100644 --- a/flake.nix +++ b/flake.nix @@ -10,13 +10,23 @@ }; outputs = inputs@{ self, nixpkgs-darwin, nix-darwin }: { - darwinConfigurations."tetrahedrite" = nix-darwin.lib.darwinSystem { - modules = [ - ./nix-darwin/configuration.nix - { - nixpkgs.hostPlatform = "x86_64-darwin"; - } - ]; + darwinConfigurations = { + tetrahedrite = nix-darwin.lib.darwinSystem { + modules = [ + ./nix-darwin/configuration.nix + { + nixpkgs.hostPlatform = "x86_64-darwin"; + } + ]; + }; + sphalerite = nix-darwin.lib.darwinSystem { + modules = [ + ./nix-darwin/configuration.nix + { + nixpkgs.hostPlatform = "aarch64-darwin"; + } + ]; + }; }; }; }