From ed415ca634dc1ee72cb68c0e89d4d978bbcb5c04 Mon Sep 17 00:00:00 2001 From: osbm Date: Sun, 5 Jan 2025 22:53:48 +0300 Subject: [PATCH] add ability to compile aarch64 to ymir --- hosts/ymir/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index ccc4152..62fbfa9 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -193,6 +193,10 @@ # enableSSHSupport = true; # }; + + boot.binfmt.emulatedSystems = ["aarch64-linux"]; + nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems; + # List services that you want to enable: # Enable the OpenSSH daemon.