Universedesktop: binfmt riscv64
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
{ lib, config, pkgs, nixpkgs, ... }: {
|
{ lib, config, pkgs, nixpkgs, ... }: {
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
nix.registry.nixpkgs.flake = nixpkgs;
|
nix.registry.nixpkgs.flake = nixpkgs;
|
||||||
|
|
||||||
|
# Allow user-mode qemu for running riscv64 binaries
|
||||||
|
boot.binfmt.emulatedSystems = [ "riscv64-linux" ];
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user