diff options
Diffstat (limited to 'hosts/darwin.nix')
-rw-r--r-- | hosts/darwin.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/darwin.nix b/hosts/darwin.nix new file mode 100644 index 0000000..909322b --- /dev/null +++ b/hosts/darwin.nix @@ -0,0 +1,10 @@ +inputs: let + mkDarwinSystem = system: path: + inputs.nixpkgs.lib.darwinSystem { + inherit system; + specialArgs = {inherit inputs;}; + modules = import (./. + "/${path}") inputs; + }; +in { + m1mba = mkDarwinSystem "aarch64-darwin" "mac/m1mba"; +} |