Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos-rebuild: support sudo + --target-host
This adds support for deploying to remote hosts without being root: sudo nixos-rebuild --target-host non-root@host Without this change, only root@host is able to deploy. The idea is that if the local command is run with sudo, so should the remote one, thus there is no need for adding any CLI options.
- Loading branch information