add aarch64-linux emulation

This commit is contained in:
2024-10-17 01:03:36 +05:30
parent 23e8f2edfb
commit d27b9d0d7a
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,8 @@
}; };
boot = { boot = {
binfmt.emulatedSystems = ["aarch64-linux"];
plymouth = { plymouth = {
enable = true; enable = true;
theme = "spinner-monochrome"; theme = "spinner-monochrome";

View File

@ -12,6 +12,8 @@
../../modules/nixos/virtualisation/docker.nix ../../modules/nixos/virtualisation/docker.nix
]; ];
boot.binfmt.emulatedSystems = ["aarch64-linux"];
nixpkgs = { nixpkgs = {
config.cudaSupport = true; config.cudaSupport = true;
hostPlatform = "x86_64-linux"; hostPlatform = "x86_64-linux";