oscar: Simplify binfmt config

I no longer need the full config now that this PR is merged:

https://github.com/NixOS/nixpkgs/pull/334859
This commit is contained in:
Chandler Swift 2025-07-04 14:04:03 -05:00
parent b933ecc24e
commit 3e994311ec
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -34,11 +34,7 @@
boot.plymouth.theme = "breeze"; boot.plymouth.theme = "breeze";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
boot.binfmt.registrations.aarch64-linux = { boot.binfmt.preferStaticEmulators = true;
interpreter = "${pkgs.pkgsStatic.qemu-user.override { hostCpuTargets = ["aarch64-linux-user"]; }}/bin/qemu-aarch64";
wrapInterpreterInShell = false;
fixBinary = true;
};
boot.initrd.luks.devices."luks-ca2fdf0b-d385-498c-9f7d-f58368a65fd4".device = "/dev/disk/by-uuid/ca2fdf0b-d385-498c-9f7d-f58368a65fd4"; 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. networking.hostName = "oscar"; # Define your hostname.