forked from mirrors_public/oddlama_nix-config
chore: update pipewire to use new extraConfig
This commit is contained in:
parent
35275d09d5
commit
6ce119d871
1 changed files with 8 additions and 13 deletions
|
@ -23,20 +23,15 @@ lib.optionalAttrs (!minimal) {
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
|
extraConfig.pipewire."99-allowed-rates"."context.properties"."default.clock.allowed-rates" = [
|
||||||
|
44100
|
||||||
|
48000
|
||||||
|
88200
|
||||||
|
96000
|
||||||
|
176400
|
||||||
|
192000
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [pulseaudio pulsemixer];
|
environment.systemPackages = with pkgs; [pulseaudio pulsemixer];
|
||||||
environment.etc = {
|
|
||||||
# Allow pipewire to dynamically adjust the rate sent to the devices based on the playback stream
|
|
||||||
"pipewire/pipewire.conf.d/99-allowed-rates.conf".text = builtins.toJSON {
|
|
||||||
"context.properties"."default.clock.allowed-rates" = [
|
|
||||||
44100
|
|
||||||
48000
|
|
||||||
88200
|
|
||||||
96000
|
|
||||||
176400
|
|
||||||
192000
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue