Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications/pipewire.py
blob: b6e79347df749fd3a116d7f86e79761c79a99e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import archinstall
import logging

# Define the package list in order for lib to source
# which packages will be installed by this profile
__packages__ = ["pipewire", "pipewire-alsa", "pipewire-jack", "pipewire-pulse", "gst-plugin-pipewire", "libpulse", "wireplumber"]

archinstall.log('Installing pipewire', level=logging.INFO)
archinstall.storage['installation_session'].add_additional_packages(__packages__)

@archinstall.plugin
def on_user_created(installation :archinstall.Installer, user :str):
	archinstall.log(f"Enabling pipewire-pulse for {user}", level=logging.INFO)
	installation.chroot('systemctl enable --user pipewire-pulse.service', run_as=user)