-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
nixos/modules/config/pulseaudio: add support for custom ALSA paths and profiles #102691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: staging
Are you sure you want to change the base?
Conversation
adapted from https://releases.nixos.org/nix-dev/2015-November/018625.html This allows overriding of the default PulseAudio ALSA configuration, which is potentially necessary for sound cards with poor upstream support, as well as for custom profiles.
…d profiles adapted from https://releases.nixos.org/nix-dev/2015-November/018625.html This allows packages to provide custom profiles, which is potentially necessary for sound cards with poor upstream support. It also adds a configuration option for users to define extra profiles in the default profile set.
Maybe this should go through staging first but I am not sure. |
I can rebase it to staging if that would be preferable. By the way, I submitted the patch upstream, though who knows when or if it'll be reviewed... |
Yeah, this being mass rebuild means it should be targetted to staging. It might also make sense to find the profiles under |
Although using |
Is there some chance of this getting merged? If modifying the pulseaudio package globally is undesirable, it can be changed to just use the patched version in the service, since the changed code is only called in the server itself anyways. |
+1 would be nice to be have the ability to add profile-sets, which I'm struggling to do atm. But I guess I can ride with |
I marked this as stale due to inactivity. → More info |
Motivation for this change
This is adapted from Jookia's patch here.
The purpose of these changes is to allow users to change PulseAudio configuration files related to ALSA sound card profiles, which would be stored under
/usr/share
in a FHS distro. This is necessary to, e.g., enable multiple outputs on a sound card at once, and may also be necessary for certain sound cards which are not supported upstream.It seems plausible that this patch for PulseAudio could be merged upstream, to decrease the maintenance burden eventually.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)