From 0466cef265f8dfc4cdaa00c67aee5489c939bf3b Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Sat, 20 Sep 2025 19:30:17 +0800 Subject: [PATCH] aarch64 emulation --- hosts/muskduck/default.nix | 3 --- suites/desktop/default.nix | 3 +++ suites/desktop/home.nix | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/muskduck/default.nix b/hosts/muskduck/default.nix index 553373b..0d5ff4f 100644 --- a/hosts/muskduck/default.nix +++ b/hosts/muskduck/default.nix @@ -47,7 +47,4 @@ with lib; { }; swapDevices = [{device = "/swap/swapfile";}]; - - # Install some packages. - environment.systemPackages = with pkgs; [deploy-rs]; } diff --git a/suites/desktop/default.nix b/suites/desktop/default.nix index 17d1403..60241a1 100755 --- a/suites/desktop/default.nix +++ b/suites/desktop/default.nix @@ -28,6 +28,9 @@ with lib; { ]; }; + # Emulate aarch64 to build system for weebill. + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + # Enable smart card support (for YubiKey). services.pcscd.enable = true; diff --git a/suites/desktop/home.nix b/suites/desktop/home.nix index 9417a59..b24e1fe 100644 --- a/suites/desktop/home.nix +++ b/suites/desktop/home.nix @@ -203,6 +203,7 @@ with lib; { blender caligula celluloid + deploy-rs feishin fluffychat fusee-nano