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