Commit cc99647

HPCesia <me@hpcesia.com>
2026-10-18 08:11:33
binfmt: prefer static emulator for CI container
1 parent bfc17d6
Changed files (1)
modules
modules/dev/binfmt.nix
@@ -10,7 +10,10 @@
       allHostSystems = lib.filter (sys: lib.hasSuffix "linux" sys) (lib.attrNames den.hosts);
       emulatedSystems = lib.filter (sys: sys != currentHostSystem) allHostSystems;
     in {
-      boot.binfmt.emulatedSystems = emulatedSystems;
+      boot.binfmt = {
+        emulatedSystems = emulatedSystems;
+        preferStaticEmulators = true;
+      };
     };
   };
 }