Run one-off command
Opened this issue · 0 comments
srid commented
Instead of dropping into the login shell, would it be possible to create a CLI mode wherein the VM is launched, root shell entered and the given command is run, before exiting?
eg:
nixos-shell --flake github:srid/nixos-config#corsair --run "cd /Downloads && protonvpn c -f && aria2c ${MAGNET}"