Autoupdate Flatpaks
At a user level:
Create the updater service
systemctl --user edit --full --force flatpak-user-update.service
[Unit] Description=Flatpak Automatic Update Documentation=man:flatpak(1) Wants=network-online.target After=network-online.target [Service] Type=oneshot ExecStart=/usr/bin/flatpak --user update -y --noninteractive [Install] WantedBy=multi-user.target
systemctl --user edit --full --force flatpak-user-update.timer
Install a timer (configure time)
[Unit] Description=Flatpak Automatic Update Trigger Documentation=man:flatpak(1) [Timer] OnBootSec=5m OnCalendar=0/6:00:00 Persistent=true [Install] WantedBy=timers.target
Enable the timer
systemctl --user daemon-reload
systemctl --user enable --now flatpak-user-update.timer