From 198c7da772646a41e9c355c94ef76f5d1deaedbf Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 14 May 2024 23:38:34 +0300 Subject: [PATCH] Emulate arm, riscv and x86_64 linux --- modules/emulated-systems.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules/emulated-systems.nix diff --git a/modules/emulated-systems.nix b/modules/emulated-systems.nix new file mode 100644 index 0000000..3c9fd17 --- /dev/null +++ b/modules/emulated-systems.nix @@ -0,0 +1,9 @@ +{ config, lib, ... }: with lib; + +systemConfiguration { + boot.binfmt.emulatedSystems = remove config.nixpkgs.hostPlatform.system [ + "aarch64-linux" + "riscv64-linux" + "x86_64-linux" + ]; +}