Mumble: Difference between revisions

imported>Vdot0x23
added how to have pulseaudio support for mumble
 
imported>Mic92
simplify pulse override code
Line 1: Line 1:
= PulseAudio Support =
= PulseAudio Support =
Add the following snippet to a file, for instance mumble.nix
Add the following to your configuration.nix for [https://de.wikipedia.org/wiki/PulseAudio pulseaudio] support:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
{ config, pkgs, ...}:
{ config, pkgs, ...}:
{
{
nixpkgs.config = {
  environment.systemPackages = [
  packageOverrides = super: let self = super.pkgs; in {
    (pkgs.mumble.override { pulseSupport = true; })
    mumble = super.mumble.override { pulseSupport = true; };
   ];
   };
};
}
}
</syntaxhighlight>
and add to imports in configuration.nix, for instance as shown below
<syntaxhighlight lang="nix">
  imports =
    [
      ./mumble.nix
    ];
</syntaxhighlight>
</syntaxhighlight>