krebs / krops

Mirror of https://cgit.krebsco.de/krops/about/ (PRs / issues accepted, as can be seen by not having them disabled)
Do What The F*ck You Want To Public License
132 stars 18 forks source link

Add flag to nixos-rebuild #24

Closed jpotier closed 3 years ago

jpotier commented 3 years ago

In the case we need sudo for the remote target, the flag --use-remote-sudo must be passed if the target's ssh user is not root.

If target's ssh user is root, it doesn't hurt to use sudo.

jpotier commented 3 years ago

@Mic92 care to review (saw you were active “recently”)

jpotier commented 3 years ago

That was fast! thx