From 3e994311ec74bed7143315f8af33797a6746b141 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Fri, 4 Jul 2025 14:04:03 -0500 Subject: [PATCH] oscar: Simplify binfmt config I no longer need the full config now that this PR is merged: https://github.com/NixOS/nixpkgs/pull/334859 --- oscar/configuration.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/oscar/configuration.nix b/oscar/configuration.nix index 6cb71c6..640da6d 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -34,11 +34,7 @@ boot.plymouth.theme = "breeze"; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; - boot.binfmt.registrations.aarch64-linux = { - interpreter = "${pkgs.pkgsStatic.qemu-user.override { hostCpuTargets = ["aarch64-linux-user"]; }}/bin/qemu-aarch64"; - wrapInterpreterInShell = false; - fixBinary = true; - }; + boot.binfmt.preferStaticEmulators = true; boot.initrd.luks.devices."luks-ca2fdf0b-d385-498c-9f7d-f58368a65fd4".device = "/dev/disk/by-uuid/ca2fdf0b-d385-498c-9f7d-f58368a65fd4"; networking.hostName = "oscar"; # Define your hostname.