mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-03 00:15:35 +02: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 = {
|
boot = {
|
||||||
tmp = if iHaveLotsOfRam then { useTmpfs = true; } else { cleanOnBoot = true; };
|
tmp = if iHaveLotsOfRam then { useTmpfs = true; } else { cleanOnBoot = true; };
|
||||||
|
|
||||||
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
binfmt.emulatedSystems = mkIf (pkgs.system == "x86_64-linux") [ "aarch64-linux" ];
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot = mkIf (!isPhone) {
|
systemd-boot = mkIf (!isPhone) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user