add sound.volumeStep config option#20020
add sound.volumeStep config option#20020dermetfan wants to merge 1 commit intoNixOS:masterfrom dermetfan:patch-1
sound.volumeStep config option#20020Conversation
allows user to configure the amount by which volume is increased/decreased by `sound.enableMediaKeys`
|
@dermetfan, thanks for your PR! By analyzing the history of the files in this pull request, we identified @oxij, @edolstra and @nbp to be potential reviewers. |
|
I had not noticed the addition of |
|
@edolstra Fair point. |
|
Eelco Dolstra notifications@github.com writes:
I disagree. IMHO media keys should work from bare ttys (because they
I agree, however, that the name is misleading in that context. I should
That code is for alsa, as described above.
It does the right thing by controlling the Master volume of the default
Not supported in alsa, AFAIK. |
Taken from #20020. (cherry picked from commit 6f17cb1) Otherwise, the patch in 77d8b46 fails to apply (see e.g., https://hydra.nixos.org/build/43141220/nixlog/1/raw)
|
How about this example sound.alsa.mediaKeys = {
enable = true;
volumeStep = "1";
};Also, I would note the incompatibility between PulseAudio and |
|
Sounds like a plan.
|
Taken from NixOS#20020. (cherry picked from commit 6f17cb1) Otherwise, the patch in 77d8b46 fails to apply (see e.g., https://hydra.nixos.org/build/43141220/nixlog/1/raw)
Motivation for this change
Issue #17068
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandboxinnix.confon non-NixOS)
nix-shell -p nox --run "nox-review wip"./result/bin/)allows user to configure the amount by which volume is increased/decreased by
sound.enableMediaKeys