Add binfmt emulation for all needed systems
parent
2d74dac8c0
commit
3517120888
@ -0,0 +1,13 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
lib.mkIf config.sbruder.full {
|
||||
# Emulates all configured systems except the actual system
|
||||
boot.binfmt.emulatedSystems = lib.filter
|
||||
(system: system != pkgs.stdenv.system)
|
||||
[
|
||||
"aarch64-linux"
|
||||
"armv7l-linux"
|
||||
"i686-linux"
|
||||
"x86_64-linux"
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue