diff --git a/default.nix b/default.nix index a49fe79b..aa416aab 100644 --- a/default.nix +++ b/default.nix @@ -16,13 +16,21 @@ in { inherit tree; nixosConfigurations = mapAttrs (_: path: nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs tree; + machine = name; + }; system = "x86_64-linux"; modules = [ path ]; } ) tree.nixos.systems; darwinConfigurations = mapAttrs (_: path: darwin.lib.darwinSystem { - system = "x86_64-linux"; + specialArgs = { + inherit inputs tree; + machine = name; + }; + system = "aarch64-darwin"; modules = [ path ];