system/audio: fix pipewire config
This commit is contained in:
parent
54f0700ef7
commit
4765663295
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ in {
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
environment.etc."pipewire/pipewire.conf.d/99-config.conf".text = builtins.toJSON {
|
services.pipewire.extraConfig.pipewire = {
|
||||||
"context.properties" = {
|
"context.properties" = {
|
||||||
"default.clock.rate" = int.rate;
|
"default.clock.rate" = int.rate;
|
||||||
"default.clock.quantum" = int.quantum.def;
|
"default.clock.quantum" = int.quantum.def;
|
||||||
|
|
@ -50,7 +50,7 @@ in {
|
||||||
"resample.quality" = 1;
|
"resample.quality" = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.etc."pipewire/pipewire-pulse.conf.d/99-config.conf".text = builtins.toJSON {
|
services.pipewire.extraConfig.pipewire-pulse = {
|
||||||
"context.modules" = [
|
"context.modules" = [
|
||||||
{
|
{
|
||||||
name = "libpipewire-module-rtkit";
|
name = "libpipewire-module-rtkit";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue