Skip to content

Commit ae4562e

Browse files
committed
Add aarch64-darwin for tempest
This adds a config for aarch64-darwin machines.
1 parent d6f21fc commit ae4562e

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

flake.nix

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,27 @@
9090
}
9191
];
9292
};
93+
tempest = darwin.lib.darwinSystem {
94+
system = "aarch64-darwin";
95+
modules = [
96+
./modules/darwin.nix
97+
home-manager.darwinModules.home-manager
98+
{
99+
nixpkgs.overlays = overlays;
100+
home-manager = {
101+
useGlobalPkgs = true;
102+
useUserPackages = true;
103+
users."tim" = { pkgs, ... }: {
104+
imports = [ ./home ];
105+
home = {
106+
username = "tim";
107+
homeDirectory = "/Users/tim";
108+
};
109+
};
110+
};
111+
}
112+
];
113+
};
93114
};
94115

95116
homeConfigurations = {

modules/darwin.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
package = pkgs.nixVersions.stable;
55
settings = {
66
experimental-features = "nix-command flakes";
7-
trusted-users = [ "nixos" ];
7+
trusted-users = [ "tim" ];
88
};
99
};
1010

0 commit comments

Comments
 (0)