From 0264d47ecbb2017adc9532c3fed097ad00dc34c8 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Tue, 7 Apr 2026 08:12:04 +0200 Subject: [PATCH] Add aarch64-linux installer app --- flake.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index e41c1ca..f0aa870 100644 --- a/flake.nix +++ b/flake.nix @@ -156,9 +156,10 @@ # Installer Script # ============================================ - apps.${defaultSystem}.installer = { - type = "app"; - program = toString (pkgs.writeShellScript "installer" '' + apps = let + mkInstaller = system: { + type = "app"; + program = toString ((mkPkgs system).writeShellScript "installer" '' set -e if [ -z "$1" ]; then @@ -187,7 +188,11 @@ echo "⚠ Cannot determine OS" exit 1 fi - ''); + ''); + }; + in { + x86_64-linux.installer = mkInstaller "x86_64-linux"; + aarch64-linux.installer = mkInstaller "aarch64-linux"; }; };