Added some null sinks

This commit is contained in:
Jan-Bulthuis 2025-04-17 19:44:46 +02:00
parent af3984498c
commit 27dde8e40a
1 changed files with 28 additions and 1 deletions

View File

@ -26,6 +26,8 @@
carla
wprs
xwayland
alsa-utils
pulsemixer
# Add LV2 plugins
lsp-plugins
@ -47,7 +49,6 @@
users.users.mixer = {
isNormalUser = true;
group = "mixer";
linger = true;
extraGroups = [ "systemd-journal" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKKxoQSxfYqf9ITN8Fhckk8WbY4dwtBAXOhC9jxihJvq jan@bulthuis.dev"
@ -76,5 +77,31 @@
RestartSec = 5;
};
};
# Create null sink for spotifyd
services.pipewire.extraConfig.pipewire."91-null-sinks" = {
"context.objects" = [
{
factory = "adapter";
args = {
"factory.name" = "support.null-audio-sink";
"node.name" = "SpotifyD-Proxy";
"node.description" = "Proxy for SpotifyD";
"media.class" = "Audio/Sink";
"audio.position" = "FL,FR";
};
}
{
factory = "adapter";
args = {
"factory.name" = "support.null-audio-sink";
"node.name" = "AnalogIn-Proxy";
"node.description" = "Proxy for the analog input";
"media.class" = "Audio/Source/Virtual";
"audio.position" = "FL,FR";
};
}
];
};
};
}