summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-24 02:54:03 -0400
committerseth <[email protected]>2023-05-24 02:54:03 -0400
commit4f09080b4901c1a3ea72f27cbcab25a852dd6635 (patch)
tree61b4014591ce68e5b4b894d36184016cf941b477
parentb70b5d8de67a4d263c53f5ba053b15d416df4212 (diff)
atlas: register x86_64-linux in binfmt
-rw-r--r--hosts/atlas/default.nix1
-rw-r--r--hosts/p-body/buildMachines.nix2
2 files changed, 2 insertions, 1 deletions
diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix
index 310a644..097fda1 100644
--- a/hosts/atlas/default.nix
+++ b/hosts/atlas/default.nix
@@ -20,6 +20,7 @@
};
boot = {
+ binfmt.emulatedSystems = ["x86_64-linux"];
cleanTmpDir = true;
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
diff --git a/hosts/p-body/buildMachines.nix b/hosts/p-body/buildMachines.nix
index 54f8bf0..e8bde7c 100644
--- a/hosts/p-body/buildMachines.nix
+++ b/hosts/p-body/buildMachines.nix
@@ -29,7 +29,7 @@ in {
sshUser = "bob";
sshKey = config.age.secrets."${hostName}2atlas".path;
supportedFeatures = ["benchmark" "big-parallel" "gccarch-armv8-a" "kvm" "nixos-test"];
- system = "aarch64-linux";
+ systems = ["aarch64-linux" "x86_64-linux"];
}
];