diff --git a/files/scripts/enablecommonautoupdate.sh b/files/scripts/enablecommonautoupdate.sh new file mode 100644 index 0000000..fc82263 --- /dev/null +++ b/files/scripts/enablecommonautoupdate.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +systemctl enable rpm-ostreed-automatic.timer +systemctl enable brew-upgrade.timer +systemctl enable brew-update.timer +systemctl --global enable podman-auto-update.timer \ No newline at end of file diff --git a/files/scripts/enableflatpakautoupdate.sh b/files/scripts/enableflatpakautoupdate.sh new file mode 100644 index 0000000..98856d1 --- /dev/null +++ b/files/scripts/enableflatpakautoupdate.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +systemctl enable --user flatpak-user-update.timer +systemctl enable flatpak-system-update.timer \ No newline at end of file diff --git a/recipes/common/common-modules.yml b/recipes/common/common-modules.yml index 62a663e..9d0ea75 100644 --- a/recipes/common/common-modules.yml +++ b/recipes/common/common-modules.yml @@ -28,4 +28,7 @@ modules: - from-file: common/common-scripts.yml - type: brew brew-analytics: false + - type: script + scripts: + - enablecommonautoupdate.sh - type: secureblue-signing \ No newline at end of file diff --git a/recipes/common/desktop-modules.yml b/recipes/common/desktop-modules.yml index 3b048bc..104a70f 100644 --- a/recipes/common/desktop-modules.yml +++ b/recipes/common/desktop-modules.yml @@ -12,4 +12,7 @@ modules: - installsignedkernel.sh - from-file: common/desktop-packages.yml - from-file: common/desktop-scripts.yml + - type: script + scripts: + - enableflatpakautoupdate.sh - type: yafti \ No newline at end of file