diff --git a/hosts/12kingdoms-shoukei/hardware-configuration.nix b/hosts/12kingdoms-shoukei/hardware-configuration.nix index 08e1613b..79d7a82e 100644 --- a/hosts/12kingdoms-shoukei/hardware-configuration.nix +++ b/hosts/12kingdoms-shoukei/hardware-configuration.nix @@ -23,6 +23,8 @@ in # depending on how you configured your disk mounts, change this to /boot or /boot/efi. boot.loader.efi.efiSysMountPoint = "/boot"; + # Enable binfmt emulation of aarch64-linux, this is required for cross compilation. + boot.binfmt.emulatedSystems = ["x86_64-linux" "riscv64-linux"]; # supported file systems, so we can mount any removable disks with these filesystems boot.supportedFilesystems = lib.mkForce [ "ext4" diff --git a/outputs/default.nix b/outputs/default.nix index f9c2984a..9bc6022f 100644 --- a/outputs/default.nix +++ b/outputs/default.nix @@ -26,6 +26,13 @@ # To use chrome, we need to allow the installation of non-free software config.allowUnfree = true; }; + + pkgs-x64 = import nixpkgs { + system = "x86_64-linux"; + + # To use chrome, we need to allow the installation of non-free software + config.allowUnfree = true; + }; }; # This is the args for all the haumea modules in this folder.