Open srid opened 2 years ago
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}"
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: