Universedesktop: binfmt riscv64

This commit is contained in:
2023-09-08 09:45:30 -04:00
parent a2a89bdf72
commit 2616cdcd96

View File

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