Change to wireplumber

This commit is contained in:
Johannes Jöns 2023-03-11 11:07:20 +01:00
parent b0f593c258
commit ca2799caa7

View file

@ -30,40 +30,39 @@ in
pulse.enable = true; pulse.enable = true;
jack.enable = true; jack.enable = true;
wireplumber.enable = false; wireplumber.enable = true;
media-session.enable = true; #media-session.enable = true;
media-session.config.alsa-monitor = #media-session.config.alsa-monitor = mkAliasDefinitions options.custom.hardware.audio.alsa-monitor;
mkAliasDefinitions options.custom.hardware.audio.alsa-monitor;
config.pipewire = { #config.pipewire = {
"context.objects" = cfg.nodes ++ [ ]; # "context.objects" = cfg.nodes ++ [ ];
"context.modules" = [ # "context.modules" = [
{ # {
name = "libpipewire-module-rtkit"; # name = "libpipewire-module-rtkit";
args = { }; # args = { };
flags = [ "ifexists" "nofail" ]; # flags = [ "ifexists" "nofail" ];
} # }
{ name = "libpipewire-module-protocol-native"; } # { name = "libpipewire-module-protocol-native"; }
{ name = "libpipewire-module-profiler"; } # { name = "libpipewire-module-profiler"; }
{ name = "libpipewire-module-metadata"; } # { name = "libpipewire-module-metadata"; }
{ name = "libpipewire-module-spa-device-factory"; } # { name = "libpipewire-module-spa-device-factory"; }
{ name = "libpipewire-module-spa-node-factory"; } # { name = "libpipewire-module-spa-node-factory"; }
{ name = "libpipewire-module-client-node"; } # { name = "libpipewire-module-client-node"; }
{ name = "libpipewire-module-client-device"; } # { name = "libpipewire-module-client-device"; }
{ # {
name = "libpipewire-module-portal"; # name = "libpipewire-module-portal";
flags = [ "ifexists" "nofail" ]; # flags = [ "ifexists" "nofail" ];
} # }
{ # {
name = "libpipewire-module-access"; # name = "libpipewire-module-access";
args = { }; # args = { };
} # }
{ name = "libpipewire-module-adapter"; } # { name = "libpipewire-module-adapter"; }
{ name = "libpipewire-module-link-factory"; } # { name = "libpipewire-module-link-factory"; }
{ name = "libpipewire-module-session-manager"; } # { name = "libpipewire-module-session-manager"; }
] ++ cfg.modules; # ] ++ cfg.modules;
}; # };
}; };
hardware.pulseaudio.enable = mkForce false; hardware.pulseaudio.enable = mkForce false;