1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: update pipewire to use new extraConfig

This commit is contained in:
oddlama 2024-03-02 13:25:21 +01:00
parent 35275d09d5
commit 6ce119d871
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -23,20 +23,15 @@ lib.optionalAttrs (!minimal) {
jack.enable = true;
pulse.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.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
];
};
};
}