From fe2258b0e7ffe44e3d351a0ba65dd12e9daeea57 Mon Sep 17 00:00:00 2001 From: Matthew Tran Date: Sat, 24 Jan 2026 22:17:26 -0800 Subject: [PATCH] move more stuff to flatpak --- config/provision.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/config/provision.py b/config/provision.py index 11bbbdd..e6f277c 100755 --- a/config/provision.py +++ b/config/provision.py @@ -163,16 +163,14 @@ def add_packages(): "ExecStart=/usr/bin/rpm-ostree install -y --allow-inactive " + " ".join([ "alsa-utils", "avahi", - "chromium", - "firefox", "flatpak", "htop", "python3", "seatd", "sway", "tmux", + "usbutils", "vim", - "weston", "zip", ]), "ExecStart=/bin/touch /etc/rpm/%N.stamp", @@ -182,12 +180,13 @@ def add_packages(): ]), }, { # TODO update once done https://github.com/coreos/rpm-ostree/issues/49 - "name": "post-rpm-ostree-install.service", + "name": "tv-setup.service", "enabled": True, "contents": "\n".join([ "[Unit]", "Description=Post package install setup", - "After=local-fs.target", + "Wants=network-online.target", + "After=network-online.target", "ConditionPathExists=/etc/rpm/rpm-ostree-install.stamp", "ConditionPathExists=!/etc/rpm/%N.stamp", "[Service]", @@ -196,6 +195,12 @@ def add_packages(): "ExecStart=/usr/bin/sh -c 'grep -E \"^(audio|seat|video):\" /usr/lib/group >> /etc/group'", "ExecStart=/usr/bin/usermod -aG audio,seat,video tv", "ExecStart=/usr/bin/systemctl enable --now seatd", + "ExecStart=flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo", + "ExecStart=flatpak install -y " + " ".join([ + "com.brave.Browser", + "org.mozilla.firefox", + "com.valvesoftware.SteamLink", + ]), "ExecStart=/bin/touch /etc/rpm/%N.stamp", "[Install]", "WantedBy=multi-user.target",