Compare commits
2 Commits
0e42248ac5
...
bfc6bb9d06
Author | SHA1 | Date | |
---|---|---|---|
bfc6bb9d06 | |||
123e11860d |
@@ -1,8 +0,0 @@
|
|||||||
[checks]
|
|
||||||
min_battery_percent = 20.0
|
|
||||||
max_cpu_load_percent = 50.0
|
|
||||||
max_mem_percent = 90.0
|
|
||||||
network_not_metered = true
|
|
||||||
|
|
||||||
[notify]
|
|
||||||
dbus_notify = true
|
|
8
files/systemd/system/bootc-fetch-updates.service
Normal file
8
files/systemd/system/bootc-fetch-updates.service
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Download bootc updates
|
||||||
|
Documentation=man:bootc(8)
|
||||||
|
ConditionPathExists=/run/ostree-booted
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/bootc update --quiet
|
12
files/systemd/system/bootc-fetch-updates.timer
Normal file
12
files/systemd/system/bootc-fetch-updates.timer
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Download bootc updates
|
||||||
|
Documentation=man:bootc(8)
|
||||||
|
ConditionPathExists=/run/ostree-booted
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=15min
|
||||||
|
OnUnitInactiveSec=8h
|
||||||
|
RandomizedDelaySec=2h
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
5
files/systemd/system/flatpak-system-update.service
Normal file
5
files/systemd/system/flatpak-system-update.service
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Update flatpaks
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=flatpak update --noninteractive
|
9
files/systemd/system/flatpak-system-update.timer
Normal file
9
files/systemd/system/flatpak-system-update.timer
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Update flatpak
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=15min
|
||||||
|
OnCalendar=daily
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
5
files/systemd/user/flatpak-user-update.service
Normal file
5
files/systemd/user/flatpak-user-update.service
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Update flatpaks
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=flatpak update --noninteractive
|
9
files/systemd/user/flatpak-user-update.timer
Normal file
9
files/systemd/user/flatpak-user-update.timer
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Update flatpak
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=15min
|
||||||
|
OnCalendar=daily
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
@@ -8,22 +8,19 @@ modules:
|
|||||||
- ublue-os-udev-rules
|
- ublue-os-udev-rules
|
||||||
- ublue-os-signing
|
- ublue-os-signing
|
||||||
|
|
||||||
- type: dnf
|
|
||||||
repos:
|
|
||||||
copr:
|
|
||||||
- ublue-os/bling
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
- ublue-update
|
|
||||||
|
|
||||||
- type: script
|
- type: script
|
||||||
scripts:
|
scripts:
|
||||||
- addimageinfo.sh
|
- addimageinfo.sh
|
||||||
|
|
||||||
- type: systemd
|
- type: systemd
|
||||||
|
system:
|
||||||
|
enabled:
|
||||||
|
- bootc-fetch-updates.timer
|
||||||
|
- flatpak-system-update.timer
|
||||||
user:
|
user:
|
||||||
enabled:
|
enabled:
|
||||||
- unlock-kwallet.service
|
- unlock-kwallet.service
|
||||||
|
- flatpak-user-update.timer
|
||||||
|
|
||||||
- type: dnf
|
- type: dnf
|
||||||
install:
|
install:
|
||||||
|
Reference in New Issue
Block a user