Automatically enable basic emulation on buildlers

Since my remote build machines are going to be limited to only my most
powerful systems, it makes sense that they are going to be able to use a
few cycles to do some basic emulation. So my x86_64-linux systems can
emulate aarch64 and i686 pretty easily to speed up the few things that I
would build on them
This commit is contained in:
Greg Hellings
2024-10-19 01:07:24 -05:00
parent 710339eb7b
commit 7abb613f20
+7
View File
@@ -19,6 +19,13 @@ with lib;
isNormalUser = true;
useDefaultShell = true;
};
# The builder user needs to be trusted to submit builds
nix.settings.trusted-users = [ config.users.users.remote-builder-user.name ];
# If the system is powerful enough to be a remote builder, it should
# be powerful enough to do some basic qemu stuff
boot.binfmt.emulatedSystems = [
"i686-linux"
"aarch64-linux"
];
};
}