summary refs log tree commit diff
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2025-01-24 03:15:40 +0100
committerMel <einebeere@gmail.com>2025-01-24 03:23:28 +0100
commit4af08c9c9c15fa3325b91d187cf17b35184a457c (patch)
tree0beba2fad8a05bcfdf69e9fe8537a47142c66e21
parent92ddec7fda9c2cd237001d0cd92faace6d454fe8 (diff)
downloadminerals-4af08c9c9c15fa3325b91d187cf17b35184a457c.tar.zst
minerals-4af08c9c9c15fa3325b91d187cf17b35184a457c.zip
Emulate ARM and RISC-V on bismuth for (very slow) remote builds
Signed-off-by: Mel <einebeere@gmail.com>
-rw-r--r--machines/bismuth/devices.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/machines/bismuth/devices.nix b/machines/bismuth/devices.nix
index 9bec0c5..ff28761 100644
--- a/machines/bismuth/devices.nix
+++ b/machines/bismuth/devices.nix
@@ -13,7 +13,12 @@
 
     loader.efi.canTouchEfiVariables = true;
 
-    initrd.systemd.enable = true; 
+    initrd.systemd.enable = true;
+
+    binfmt.emulatedSystems = [
+      "aarch64-linux"
+      "riscv32-linux" "riscv64-linux"
+    ];
   };
 
   # swap