pinpox / lollypops

Lollypop Operations - NixOS Deployment Tool
https://pinpox.github.io/lollypops/
GNU General Public License v3.0
118 stars 17 forks source link

Add ability to set ssh and sudo options with environment variables #20

Closed L3Nya closed 1 year ago

L3Nya commented 1 year ago

For me, it isn't always convenient to set ssh options in the nixos configuration. I use different hosts to deploy from and they have different network setups, so target host has different addresses. I could use ~/.ssh/config but imo it is more convenient to use environment variables. This commit adds ability to set REMOTE_HOST, REMOTE_USER and other options with environment variables.

pinpox commented 1 year ago

Thanks for the contribution!