From 7080aaf08102ec4c9c976582d6adfa0c14e6c640 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 2 Dec 2024 21:55:48 +0100 Subject: gnu: home: home-pipewire: Add extra-content to configuration. This allows for setting the default sound card/device, e.g.: pcm.!default {type hw card 0 device 2} ctl.!default {type hw card 0 device 2} * gnu/home/services/sound.scm (home-pipewire-configuration)[extra-content]: New field. * gnu/home/services/sound.scm (home-pipewire-asoundrc): Append it to "asoundrc". * doc/guix.texi (Sound Home Services): Update accordingly. Change-Id: I6ecebaaab41cd7313b16a5f365c21789db65664e --- doc/guix.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/guix.texi') diff --git a/doc/guix.texi b/doc/guix.texi index 0015d739bb..3b32d5408e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -48150,6 +48150,9 @@ The WirePlumber package to use. @item @code{enable-pulseaudio?} (default: @code{#t}) (type: boolean) When true, enable PipeWire's PulseAudio emulation support, allowing PulseAudio clients to use PipeWire transparently. + +@item @code{extra-content} (default: @code{""}) (type: string) +Extra content to add to the end of @file{~/.config/alsa/asoundrc}. @end table @end deftp -- cgit v1.2.3