diff --git a/agent/src/agent.rs b/agent/src/agent.rs index b877193..741a455 100644 --- a/agent/src/agent.rs +++ b/agent/src/agent.rs @@ -302,7 +302,9 @@ impl Agent { tokio::process::Command::new("sudo") .arg("/run/current-system/sw/bin/nixos-rebuild") .arg("switch") - .arg("--no-sandbox") + .arg("--option") + .arg("sandbox") + .arg("false") .arg("--flake") .arg(".") .current_dir(working_dir)