diff --git a/flatpak/.config/systemd/user/flatpak-automatic.service b/flatpak/.config/systemd/user/flatpak-automatic.service new file mode 100644 index 0000000..586039e --- /dev/null +++ b/flatpak/.config/systemd/user/flatpak-automatic.service @@ -0,0 +1,8 @@ +[Unit] +Description=flatpak Automatic Update +Documentation=man:flatpak(1) + +[Service] +Type=simple +ExecStartPre=nm-online +ExecStart=/usr/bin/flatpak update -y diff --git a/flatpak/.config/systemd/user/flatpak-automatic.timer b/flatpak/.config/systemd/user/flatpak-automatic.timer new file mode 100644 index 0000000..df55ed3 --- /dev/null +++ b/flatpak/.config/systemd/user/flatpak-automatic.timer @@ -0,0 +1,11 @@ +[Unit] +Description=flatpak Automatic Update Trigger +Documentation=man:flatpak(1) + +[Timer] +OnBootSec=1m +OnCalendar=*-*-* *:00:00 +Persistent=true + +[Install] +WantedBy=timers.target