pipebert: rename interface from "USB"

This commit is contained in:
Sandro - 2023-05-03 01:32:54 +02:00
parent d92cb6d38a
commit 3d12038a87
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,21 @@
systemd-boot.enable = true;
};
environment.etc."wireplumber/main.lua.d/50-rename.lua".text = /* lua */ ''
rule = {
matches = {
{
{ "node.name", "equals", "alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo" },
},
},
apply_properties = {
["node.description"] = "Pipebert Audio Streaming",
},
}
table.insert(alsa_monitor.rules,rule)
'';
networking = {
domain = "hq.c3d2.de";
hostId = "5c4ed15a";