Subject: [bug#73282] [PATCH] home: services: pipewire: Add utilities to profile.

From: Antero Mejr <[email-masked]>
Date: Sun, 15 Sep 2024 20:19:28 +0000

* gnu/home/services/sound.scm (home-pipewire-service-type)[extensions]:
Extend home-profile-service-type to make wpctl and pw-* available in
the profile.

Change-Id: I48c1eb0798ea083acd3e1b521a24a9acdef3bf42
---
Resolves https://issues.guix.gnu.org/68565
Adds wpctl, pw-cat, and other pw- utilities to the home profile.

 gnu/home/services/sound.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/home/services/sound.scm b/gnu/home/services/sound.scm
index 313a57305b..e39ec21c81 100644
--- a/gnu/home/services/sound.scm
+++ b/gnu/home/services/sound.scm
@@ -122,7 +122,13 @@ (define home-pipewire-service-type
     (list (service-extension home-shepherd-service-type
                              home-pipewire-shepherd-services)
           (service-extension home-xdg-configuration-files-service-type
-                             home-pipewire-xdg-configuration)))
+                             home-pipewire-xdg-configuration)
+          (service-extension home-profile-service-type
+                             (lambda (config)
+                               (list
+                                (home-pipewire-configuration-pipewire config)
+                                (home-pipewire-configuration-wireplumber
+                                 config))))))
    (description
     "Start essential PipeWire services.")
    (default-value (home-pipewire-configuration))))

base-commit: ecc95ecd399ce7917a19ae3e687ea1a92caf830a
-- 
2.46.0