Skip to content

Commit

Permalink
mac
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewhewell committed Sep 9, 2024
1 parent f61fcbb commit 838e554
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 23 deletions.
4 changes: 0 additions & 4 deletions home/development.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

{

imports = [
./zed.nix
];

programs.direnv = {
enable = true;
enableZshIntegration = true;
Expand Down
1 change: 1 addition & 0 deletions machines/darwin-aarch64/darwin-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
imports = [
./system.nix
../../services/buildfarm-executor.nix
];

nixpkgs.config.allowUnfree = true;
Expand Down
2 changes: 0 additions & 2 deletions profiles/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
https://cache.nixos.org
];
trusted-public-keys = [
"hydra.satanic.link-1:dqovbpJdboPkY2O2D4UAh4IgEReKf608IJ7aLl6CAoM="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%"
];
};

Expand Down
26 changes: 9 additions & 17 deletions services/buildfarm-executor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@
builders-use-substitutes = true
'';
buildMachines = [
{
hostName = "trex.satanic.link";
sshUser = "grw";
protocol = "ssh-ng";
maxJobs = 16;
speedFactor = 128;
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" ];
systems = [
"x86_64-linux"
"i686-linux"
# "aarch64-linux"
];
}
{
hostName = "rock-5b.satanic.link";
sshUser = "root";
Expand All @@ -28,13 +15,18 @@
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" ];
systems = [ "aarch64-linux" ];
}
] ++ lib.optionals (config.networking.hostName != "trex") [
{
hostName = "air.satanic.link";
hostName = "trex.satanic.link";
sshUser = "grw";
speedFactor = 4;
maxJobs = 2;
protocol = "ssh-ng";
maxJobs = 16;
speedFactor = 128;
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" ];
systems = [ "aarch64-linux" ];
systems = [
"x86_64-linux"
"i686-linux"
];
}
];
};
Expand Down

0 comments on commit 838e554

Please sign in to comment.