Setting Up openvpn-unroot in NixOS

OK so the title says it all;I am trying to use the script “openvpn-uroot” as root with the command:
./openvpn-unroot --automagic --verbose

And I get the following:
INFO: Generating iproute file /etc/openvpn/scripts/ip-unrooted-unrooted.sh
mv: cannot move ‘/tmp/tmp.i5iZGk7KTy’ to ‘/etc/openvpn/scripts/ip-unrooted-unrooted.sh’: No such file or directory
./openvpn-unroot: line 143: mv --backup="${backup_value:-none}" -f "$tmp_file" "$where"' returned 1 ERROR: Reverting all changes ./openvpn-unroot: line 499: local ret; ret=(“$(”$@“)”); readonly ret’ returned 1
ERROR: Reverting all changes

Pls Advise :frowning: