From 3f689d46f451581fa4bfe44a6010cdaef302a229 Mon Sep 17 00:00:00 2001 From: blake Date: Wed, 5 Nov 2025 21:34:52 -0600 Subject: [PATCH] all renames --- modules/desktop/pipewire/default.nix | 45 ++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/modules/desktop/pipewire/default.nix b/modules/desktop/pipewire/default.nix index 86a1c43..9bd7495 100644 --- a/modules/desktop/pipewire/default.nix +++ b/modules/desktop/pipewire/default.nix @@ -31,9 +31,9 @@ in { wireplumber = { enable = true; extraConfig = { - "99-renames" = { - # Use quoted dotted-property names to match WirePlumber/PipeWire rules + "90-yveltal-renames" = { "monitor.alsa.rules" = [ + # audio sinks { matches = [ { @@ -86,6 +86,47 @@ in { }; }; } + # audio sources + { + matches = [ + { + "node.name" = "alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Headset__source"; + } + ]; + actions = { + "update-props" = { + "node.description" = "3.5mm Mic"; + "node.nick" = "3.5mm Mic"; + }; + }; + } + { + matches = [ + { + "node.name" = "alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source"; + } + ]; + actions = { + "update-props" = { + "node.description" = "Laptop Mic"; + "node.nick" = "Laptop Mic"; + }; + }; + } + # audio controllers + { + matches = [ + { + "node.name" = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"; + } + ]; + actions = { + "update-props" = { + "node.description" = "Laptop Controller"; + "node.nick" = "Laptop Controller"; + }; + }; + } ]; }; };