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.