From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mCLwLECJv2YDmgAAe85BDQ:P1 (envelope-from ) for ; Fri, 16 Aug 2024 17:15:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mCLwLECJv2YDmgAAe85BDQ (envelope-from ) for ; Fri, 16 Aug 2024 19:15:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EqbgU4Z0; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=KQkwHUde; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723828544; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=35mstLZBlMAhO4Cx7l/KnDe0hgS3P0r3x7DE8+pRwjc=; b=qsvr1AI/aYTqWRtbJFePKIuvZFdAln3u6Fzqjib3xc1fQXn7hdWeZp1ZbebspqmQGX2UYc l6RUxerpaPooyzV/qxVJJkaYh88A6rCsZrBm7gpvbNwnXs1z+xBsKMktN8Dwe4lLt32RLV h7uw0uFcn2eOdZLs/A1HgdsoYsacaT3Muu5gMc0BtipaUtScOHGsyFqIBHf9AHd9D2lGFF k8fN+sN2TroWWtR7N2l/92o0Yos4/c1V8oLoJUrgF3jEs4jlLa7C5PtIUZZudzzEcHIAri RJuEAB4uUFy6CmxxOnTSaEbGiYASOs74x8JvLUHuKweR1aW80NkrI7zQ2+/gDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EqbgU4Z0; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=KQkwHUde; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723828544; a=rsa-sha256; cv=none; b=JqOKq0DCTi8b2Jf47mDU76Eu8jUFQru2rmIKLBUt+9g2zU+3bJA4irtqoe7eTZq8MUOgJC zlp+wU+nsN3PeZNWZV+pmf0ISgMrshhiP+ya1N0OFh0jy6vHe9u85RW32WS8qnua/qHJJJ WHIB0y63qRsLKfpNBWblje0G2erEaOdbDT7+VwQURdz7fwizhs5cN8iJLxoTb+0bUKonm0 OBdrX2WATxz44mAy+YBaP6leKPlfj+kosPPz2K+dYCeDgw8jeIsOKzDwOHHGTvAp+KUCSU 3tv4/Mt8nW6nnjADg057MFWIAV7sCbnK0cMRGsJgXKG9yMDbwQDf7EabF8+jig== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1B6895251C for ; Fri, 16 Aug 2024 19:15:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sf0Xy-0000NM-Bt; Fri, 16 Aug 2024 13:15:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sf0Xt-000055-LO for guix-patches@gnu.org; Fri, 16 Aug 2024 13:15:26 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sf0Xt-0008Pj-C5 for guix-patches@gnu.org; Fri, 16 Aug 2024 13:15:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=35mstLZBlMAhO4Cx7l/KnDe0hgS3P0r3x7DE8+pRwjc=; b=EqbgU4Z0PsSpg6udCIq9VUWGerErpLkuTZr7Edigu4lWZsVHqBYOEtj/18Uhkif1Zf/shPeFM1swcCOKc1hY3HjrZjV0iiuq2JudqWfwoLhijB+UdHYcQPixK5CeXQZq3nyrcHKyiRxq4ubwq/KH6oOVX7PVbpMBxUBwAAcCqBrZoe1GHX6TBxnDjxkULe/9SgdMk6AJKtlJG9f40Rj/v3qddBRzcNsEQXlnYFeEoEf2amMH0ymEywHFOvOyHek0QvTDuofjJXcjr08gTwy6PFayMbaR3G3He8tkLxIPV41tw1MPs9QauZOCQ2APDkU1mPi34VZEuKgtyyzCkqzyQg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sf0YU-0001Q3-MZ for guix-patches@gnu.org; Fri, 16 Aug 2024 13:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72673] [PATCH] Add home-pipewire-profile-service to home-pipewire-service-type Resent-From: Apoorv Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Aug 2024 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72673@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.17238285195381 (code B ref -1); Fri, 16 Aug 2024 17:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2024 17:15:19 +0000 Received: from localhost ([127.0.0.1]:52768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sf0Xm-0001Oj-Ob for submit@debbugs.gnu.org; Fri, 16 Aug 2024 13:15:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:56254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sf0Xl-0001Ob-4D for submit@debbugs.gnu.org; Fri, 16 Aug 2024 13:15:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sf0X3-0005AQ-J7 for guix-patches@gnu.org; Fri, 16 Aug 2024 13:14:36 -0400 Received: from w1.tutanota.de ([81.3.6.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sf0X1-00081k-8E for guix-patches@gnu.org; Fri, 16 Aug 2024 13:14:33 -0400 Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w1.tutanota.de (Postfix) with ESMTP id E8A19FBFCD7 for ; Fri, 16 Aug 2024 17:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1723828468; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=35mstLZBlMAhO4Cx7l/KnDe0hgS3P0r3x7DE8+pRwjc=; b=KQkwHUdepCRnDEJXiLfC/vZeNeXvNI+9zMu4IZnt2gdXn4SSW+Gqz2ozMCk0w5OJ hRGRK0FiwU3UT+YbMYWrVlZzfprCck3UySPgE6lE/lMVdZk1XbOvlT7DnoyKGbnaP1E EHPybP1ENXXfNxWdWKI9aPlm0T7EflQ0uNOxUV/xRZbXYfCLaFRZxTgHS6akuIGVDN2 jxWlRyzGKIe3sH2UV0UHe7+PDjmDAnfHL9CQ3DdvNH63QJksR0dLddR4glm5u0WHoRp Y74Mt6rWMi+QehE3Ao1qdxq2lmrgueF+AozLKsHX2MCBErVdcN9P27E4C+Dr9EcaA8F RoU0WpA6TQ== Date: Fri, 16 Aug 2024 19:14:28 +0200 (CEST) Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_109255_1490869062.1723828468965" Received-SPF: pass client-ip=81.3.6.162; envelope-from=apoorvs@tuta.io; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Apoorv X-ACL-Warn: , Apoorv via Guix-patches From: Apoorv via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 1B6895251C X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.87 X-Spam-Score: -4.87 X-TUID: aES+xFsBeiN6 ------=_Part_109255_1490869062.1723828468965 Content-Type: multipart/alternative; boundary="----=_Part_109256_159632406.1723828468965" ------=_Part_109256_159632406.1723828468965 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit `home-pipewire-service-type` should provide the `pw-` and `wpctl` commands, so I modified the `home-pipewire-service-type` to add the `home-profile-service-type` extension for that. I have to manually install both packages (pipewire and wireplumber) to get those commands, when this service-type could be doing all that for us. -- Sent with Tuta; enjoy secure & ad-free emails: https://tuta.com ------=_Part_109256_159632406.1723828468965 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
`home-pipewire-service-type` should provide the `pw-` and `wpctl` commands, so I modified the `home-pipewire-service-type` to add the `home-profile-service-type` extension for that.

I have to manually install both packages (pipewire and wireplumber) to get those commands, when this service-type could be doing all that for us.

--
Sent with Tuta; enjoy secure & ad-free emails:
https://tuta.com
------=_Part_109256_159632406.1723828468965-- ------=_Part_109255_1490869062.1723828468965 Content-Type: text/x-patch; charset=us-ascii; name=0014-Add-home-pipewire-profile-service-to-home-pipewire-s.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0014-Add-home-pipewire-profile-service-to-home-pipewire-s.patch >From 6f71b946875479a071baa8e20bc8f05e72610122 Mon Sep 17 00:00:00 2001 From: apoorv569 Date: Fri, 16 Aug 2024 22:40:22 +0530 Subject: [PATCH 14/14] Add home-pipewire-profile-service to home-pipewire-service-type --- gnu/home/services/sound.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/home/services/sound.scm b/gnu/home/services/sound.scm index 313a57305b..8afdd84740 100644 --- a/gnu/home/services/sound.scm +++ b/gnu/home/services/sound.scm @@ -51,6 +51,11 @@ (define-configuration/no-serialization home-pipewire-configuration "When true, enable PipeWire's PulseAudio emulation support, allowing PulseAudio clients to use PipeWire transparently.")) +(define (home-pipewire-profile-service config) + (list + (home-pipewire-configuration-pipewire config) + (home-pipewire-configuration-wireplumber config))) + (define (home-pipewire-shepherd-service config) (shepherd-service (documentation "PipeWire media processing.") @@ -121,6 +126,8 @@ (define home-pipewire-service-type (extensions (list (service-extension home-shepherd-service-type home-pipewire-shepherd-services) + (service-extension home-profile-service-type + home-pipewire-profile-service) (service-extension home-xdg-configuration-files-service-type home-pipewire-xdg-configuration))) (description -- 2.45.2 ------=_Part_109255_1490869062.1723828468965--