Enable snapcast-discover module
This commit is contained in:
parent
9ffcefc612
commit
ca0f4663b0
1 changed files with 17 additions and 0 deletions
|
|
@ -18,6 +18,23 @@ lib.mkIf config.jalr.gui.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
support32Bit = true;
|
support32Bit = true;
|
||||||
};
|
};
|
||||||
|
extraConfig.pipewire-pulse."10-snapcast-discover" = {
|
||||||
|
"context.modules" = [
|
||||||
|
{
|
||||||
|
name = "libpipewire-module-snapcast-discover";
|
||||||
|
args = {
|
||||||
|
stream.rules = [{
|
||||||
|
matches = [{
|
||||||
|
snapcast.ip = "~.*";
|
||||||
|
}];
|
||||||
|
actions = {
|
||||||
|
create-stream = { };
|
||||||
|
};
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue