universedesktop: riscv emulatedsystems
This commit is contained in:
@@ -34,6 +34,9 @@
|
|||||||
|
|
||||||
# ccache, y'know for blenders and whatnots
|
# ccache, y'know for blenders and whatnots
|
||||||
./ccache.nix
|
./ccache.nix
|
||||||
|
|
||||||
|
# So we can run riscv 'natively'
|
||||||
|
./riscv.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/home/universe/tmp" = {
|
fileSystems."/home/universe/tmp" = {
|
||||||
|
|||||||
6
machines/universedesktop/riscv.nix
Normal file
6
machines/universedesktop/riscv.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
boot.binfmt.emulatedSystems = [
|
||||||
|
"riscv64-linux"
|
||||||
|
];
|
||||||
|
boot.binfmt.preferStaticEmulators = true;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user