mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-02-04 01:37:44 +00:00
move more stuff to flatpak
This commit is contained in:
parent
ae5ffa9a4a
commit
fe2258b0e7
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user