diff options
author | polwex <polwex@sortug.com> | 2024-07-21 01:49:04 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2024-07-21 01:49:04 +0700 |
commit | e64f7a78e01e5fa661471cb518cc71fc33223b5a (patch) | |
tree | 691c444cf66e2f9d1ee63e4589ed09ec502baa3b /hosts/darwin.nix | |
parent | 0816d59542658a62928050ef5f08e1460e554959 (diff) |
m
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"; +} |