Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/community-builders.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-box.nix-community.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIElIQ54qAy7Dh63r
aarch64-build-box.nix-community.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9uyfhyli+BRtk64y+niqtb+sKquRGGZ87f4YRc8EE1
```

`aarch64-darwin`, `x86_64-darwin`
`aarch64-darwin`

```
darwin-build-box.nix-community.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKMHhlcn7fUpUuiOFeIhDqBzBNFsbNqq+NpzuGX3e6zv
Expand Down
3 changes: 1 addition & 2 deletions docs/continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ We provide CI for these platforms:

- `aarch64-darwin`
- `aarch64-linux`
- `x86_64-darwin`
- `x86_64-linux`

Both `aarch64-linux` and `x86_64-linux` have support for `kvm`/`nixos-test`.

We only have limited build capacity for `*-darwin` so please don't use it excessively.
We only have limited build capacity for `aarch64-darwin` so please don't use it excessively.

See [here](./infrastructure.md#continuous-integration) for details about the hardware.

Expand Down
2 changes: 1 addition & 1 deletion docs/package-sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Built on `nixos-unstable-small` for `aarch64-linux`, `x86_64-linux`:

- [https://hydra.nix-community.org/jobset/nixpkgs/unfree-redist](https://hydra.nix-community.org/jobset/nixpkgs/unfree-redist)

Built on `nixpkgs-unstable` for `aarch64-darwin`, `x86_64-darwin`:
Built on `nixpkgs-unstable` for `aarch64-darwin`:

- [https://hydra.nix-community.org/jobset/nixpkgs/unfree-redist-darwin](https://hydra.nix-community.org/jobset/nixpkgs/unfree-redist-darwin)

Expand Down
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@
outputs =
inputs@{ flake-parts, self, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
systems = [
"aarch64-darwin"
"aarch64-linux"
# "x86_64-darwin"
"x86_64-linux"
];

imports = [
./dev/dnscontrol.nix
Expand Down
1 change: 0 additions & 1 deletion hosts/darwin01/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
nixCommunity.darwin.ipv6 = "2a01:4f8:d1:5716::2 64 2a01:4f8:d1:5716::1";

nix.settings.sandbox = "relaxed";
nix.settings.extra-platforms = [ "x86_64-darwin" ];

# disable nixos-tests
nix.settings.system-features = [ "big-parallel" ];
Expand Down
1 change: 0 additions & 1 deletion hosts/darwin02/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
nixCommunity.darwin.ipv6 = "2a01:4f8:d1:5715::2 64 2a01:4f8:d1:5715::1";

nix.settings.sandbox = "relaxed";
nix.settings.extra-platforms = [ "x86_64-darwin" ];

# disable nixos-tests
nix.settings.system-features = [ "big-parallel" ];
Expand Down
21 changes: 0 additions & 21 deletions modules/darwin/common/apfs-cleanup.nix

This file was deleted.

1 change: 0 additions & 1 deletion modules/darwin/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
imports = [
../../shared/known-hosts.nix
../../shared/nix-daemon.nix
./apfs-cleanup.nix
./builder.nix
./network.nix
./packages.nix
Expand Down
8 changes: 0 additions & 8 deletions modules/darwin/common/software-update.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
{ lib, ... }:
{
system.activationScripts.postActivation.text = lib.mkBefore ''
if ! pgrep -q oahd; then
echo installing rosetta... >&2
softwareupdate --install-rosetta --agree-to-license
fi
'';

system.defaults.CustomSystemPreferences = {
# check daily, install critical updates, disable macos updates
"/Library/Preferences/com.apple.SoftwareUpdate" = {
Expand Down
2 changes: 1 addition & 1 deletion terraform/hydra-nixpkgs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ locals {
release_file = "pkgs/top-level/release-unfree-redistributable.nix"
check_interval = 1800
scheduling_shares = 5000
supported_systems = ["aarch64-darwin", "x86_64-darwin"]
supported_systems = ["aarch64-darwin"]
}
unfree_redist_full = {
name = "unfree-redist-full"
Expand Down