nixos-rebuild: run systemd-run with / as the working directory (#353079)

This commit is contained in:
Emily
2024-11-03 16:15:07 +00:00
committed by GitHub
@@ -855,7 +855,6 @@ if [[ "$action" = switch || "$action" = boot || "$action" = test || "$action" =
"--no-ask-password"
"--pipe"
"--quiet"
"--same-dir"
"--service-type=exec"
"--unit=nixos-rebuild-switch-to-configuration"
"--wait"