From a9afa9a11c270f81e0ac542dc4b823556c630895 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 19 Jul 2022 00:31:52 +0200 Subject: [PATCH] Revert "fixed with https://git.spa5.dev/mrckndt/silverblue-playbook/commit/735fecc22152972910bb591f97213a3b0a863c43" This reverts commit 272d387946e52888df6a02001ade3c19f5782e2a. --- .../.config/systemd/user/flatpak-automatic.service | 8 ++++++++ flatpak/.config/systemd/user/flatpak-automatic.timer | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 flatpak/.config/systemd/user/flatpak-automatic.service create mode 100644 flatpak/.config/systemd/user/flatpak-automatic.timer 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