From d7aa11bc655746743d76323ad0d90d876ddc21fe Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sat, 7 Dec 2024 22:44:23 -0500 Subject: [PATCH] hosts/*: replace extra-platforms with binfmt option --- hosts/Infini-DL360/default.nix | 2 +- hosts/Infini-FRAMEWORK/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/Infini-DL360/default.nix b/hosts/Infini-DL360/default.nix index 5700cf3..4bf4fb3 100644 --- a/hosts/Infini-DL360/default.nix +++ b/hosts/Infini-DL360/default.nix @@ -27,7 +27,7 @@ info.loc.purdue = true; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; - nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems; + boot.binfmt.addEmulatedSystemsToNixSandbox = true; nix.distributedBuilds = false; diff --git a/hosts/Infini-FRAMEWORK/default.nix b/hosts/Infini-FRAMEWORK/default.nix index 7127bc1..0b1d726 100644 --- a/hosts/Infini-FRAMEWORK/default.nix +++ b/hosts/Infini-FRAMEWORK/default.nix @@ -19,7 +19,7 @@ }; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; - nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems; + boot.binfmt.addEmulatedSystemsToNixSandbox = true; environment.enableDebugInfo = true;