index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2022-01-02 16:36:50 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2022-01-02 16:38:02 +0100 |
commit | 240f688ccefa7bddb56efe5bc41a457c96792e42 (patch) | |
tree | 0f38ae348f008b08d002a5789fa48a97ed554478 /profiles/applications/pipewire.py | |
parent | 93aa4aa6cc88462cf2cf4797644086e6879724bf (diff) |
-rw-r--r-- | profiles/applications/pipewire.py | 14 |
diff --git a/profiles/applications/pipewire.py b/profiles/applications/pipewire.py new file mode 100644 index 00000000..38554000 --- /dev/null +++ b/profiles/applications/pipewire.py @@ -0,0 +1,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-media-session", "pipewire-pulse", "gst-plugin-pipewire", "libpulse"] + +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)
\ No newline at end of file |