!EAGpsNNWRMltlOrGdy:nixos.org

NixOS Audio

163 Members
42 Servers

Load older messages


SenderMessageTime
8 Nov 2025
@jon:nixos-1.jschmidt.cajonIt would be nice if it was declarative17:35:45
@bandithedoge:matrix.org@bandithedoge:matrix.orgyou can make this permanent in wireplumber17:36:51
@bandithedoge:matrix.org@bandithedoge:matrix.orghere's how i do it: https://codeberg.org/bandithedoge/dotfiles/src/branch/main/hosts/machine/default.nix#L206-L22017:37:00
@backtail:matrix.orgbacktailOh wow, thanks! :D18:17:01
@null:nullspace.lolnullNot setting things manually is the whole reason to nix18:32:37
@backtail:matrix.orgbacktailIt actually ended up not working. It still doesn't get automatically set to Pro Audio19:39:02
@bandithedoge:matrix.org@bandithedoge:matrix.orgare you sure you set the right matching rule for your device?19:48:43
@backtail:matrix.orgbacktailAh, I thought this applies to all USB audio devices that might have a pro audio config20:14:45
@backtail:matrix.orgbacktailYeah, gotta look into that then20:14:56
9 Nov 2025
@backtail:matrix.orgbacktail

hm, form some reason I am completely unable to get this working. My wireplumber config is so simple, basically cannot fail, right?

wireplumber.extraConfig = {
      "52-roland-tr8-pro-audio"."monitor.alsa.rules" = [
        {
          matches = [
            { "device.name" = "*TR-8*"; }
          ];
          actions.update-props = {
            "device.profile" = "pro-audio";
          };
        }
      ];
    };
21:30:33
@backtail:matrix.orgbacktailwireplumber is also explicity enabled21:31:08
@bandithedoge:matrix.org@bandithedoge:matrix.org try "~*TR-8*" 21:34:07
@bandithedoge:matrix.org@bandithedoge:matrix.org ~ means regex 21:34:22
@bandithedoge:matrix.org@bandithedoge:matrix.org or better yet, match the entire device.name if possible 21:34:32
@backtail:matrix.orgbacktailpw-cli tells me that the device name is: device.name = "alsa_card.usb-Roland_TR-8-01"21:35:29
@backtail:matrix.orgbacktailaaaag21:35:36
@backtail:matrix.orgbacktailah*21:35:40
@backtail:matrix.orgbacktailthat makes so much sense21:35:51
@bandithedoge:matrix.org@bandithedoge:matrix.org wait, device.name? 21:36:07
@bandithedoge:matrix.org@bandithedoge:matrix.org oh you meant node.name 21:36:25
@bandithedoge:matrix.org@bandithedoge:matrix.orgbut yeah it's probably better to match the entire string instead of regex21:36:48
@backtail:matrix.orgbacktail At the end of that device.name is the trailing "-01", so I guess I should probably use regex because that might change if add more stuff 21:37:42
@bandithedoge:matrix.org@bandithedoge:matrix.orgyou can match a different property21:38:00
@bandithedoge:matrix.org@bandithedoge:matrix.org like alsa.id 21:38:13
@backtail:matrix.orgbacktailHow do I find that?21:38:57
@bandithedoge:matrix.org@bandithedoge:matrix.org wpctl inspect 21:39:05
@bandithedoge:matrix.org@bandithedoge:matrix.org you can get your device's id from wpctl status 21:39:22
@backtail:matrix.orgbacktail alsa.id is "USB Audio", interesting 21:42:07
@backtail:matrix.orgbacktailthe same as in your config that didn't work for me21:42:31
@bandithedoge:matrix.org@bandithedoge:matrix.orgyeah, i guess matching that is enough if you don't juggle between usb audio interfaces21:42:46

Show newer messages


Back to Room ListRoom Version: 10