gmodena / nix-flatpak

Install flatpaks declaratively
Apache License 2.0
276 stars 10 forks source link

systemd: start unit after multi-user.target #37

Closed gmodena closed 6 months ago

gmodena commented 7 months ago

Start the flatpak-managed-install service after multi-user.target. This should ensure that network interfaces are up, and connectivity has been established.

Fixes #30

ReedClanton commented 6 months ago

This has been working for me for the last few days. Having said that, I haven't tried adding to removing flatpaks, so the testing is limited.

gmodena commented 6 months ago

Thanks for the ack @ReedClanton . I've been daily driving the change for a while and encountered no obvious regression. I suspect this behavior is system dependent (e.g. I manage the network stack differently on my laptops vs vms), so I might need to revisit the systemd units at some point.

ReedClanton commented 6 months ago

Setup

wpa_supplicant manages wireless connections and NetworkManager manages wired.

Testing

TL;DR

Did a little testing of different network management setups and connection methods/status and didn't see any issue. Not rigerus testing (took longer to write this up), but it was something.