mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
system: only emulate aarch64-linux if x86_64-linux
This commit is contained in:
parent
60401813e6
commit
8e3a8568e3
@ -87,7 +87,7 @@ in
|
||||
boot = {
|
||||
tmp = if iHaveLotsOfRam then { useTmpfs = true; } else { cleanOnBoot = true; };
|
||||
|
||||
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
binfmt.emulatedSystems = mkIf (pkgs.system == "x86_64-linux") [ "aarch64-linux" ];
|
||||
|
||||
loader = {
|
||||
systemd-boot = mkIf (!isPhone) {
|
||||
|
Loading…
Reference in New Issue
Block a user