deploy-rs icon indicating copy to clipboard operation
deploy-rs copied to clipboard

Compatability with autoUpgrade

Open tecosaur opened this issue 1 year ago • 2 comments

Hi!

While I like that deploy-rs works well for pushing to a repo, sometimes I don't get around to updating my server for a few months and as a result security updates to web apps I have running aren't applied in a timely manner.

This has me looking at system.autoUpgrade.flake, but I'm not sure how well this works with deploy-rs.

Any guidance would be appreciated!

tecosaur avatar Nov 17 '24 09:11 tecosaur

So far as I can tell from the source, if the flake is remote (i.e. git repo), it is always pulled fresh so that should be ok. Using a local flake (git or not), you can pass arguments to the rebuild command with system.autoUpgrade.flags to update the inputs (you must enumerate all of them tho).

jficz avatar May 03 '25 18:05 jficz