From 8ec661c300657703587e7522d126486edb260189 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 8 Dec 2024 16:12:54 +0530 Subject: [PATCH] skipper: add emulatedSystems for aarch64 nixos-rebuilds --- hosts/skipper/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/skipper/default.nix b/hosts/skipper/default.nix index 3e1a979..d407cd2 100644 --- a/hosts/skipper/default.nix +++ b/hosts/skipper/default.nix @@ -14,6 +14,9 @@ wireguard-ip = "10.10.10.2"; }; + # required for nixos-rebuild if target-host is of different arch. (even if --build-host is used) + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + console.useXkbConfig = true; environment.sessionVariables = {