universedesktop: riscv emulatedsystems

This commit is contained in:
2025-08-08 23:25:03 -04:00
parent bb17f24446
commit 58c066387a
2 changed files with 9 additions and 0 deletions

View File

@@ -34,6 +34,9 @@
# ccache, y'know for blenders and whatnots
./ccache.nix
# So we can run riscv 'natively'
./riscv.nix
];
fileSystems."/home/universe/tmp" = {

View File

@@ -0,0 +1,6 @@
{ config, pkgs, lib, ... }: {
boot.binfmt.emulatedSystems = [
"riscv64-linux"
];
boot.binfmt.preferStaticEmulators = true;
}