Mumble: Difference between revisions

From NixOS Wiki
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>

Revision as of 14:45, 25 March 2020

PulseAudio Support

Add the following to your configuration.nix for pulseaudio support:

{ config, pkgs, ...}:
{
  environment.systemPackages = [
    (pkgs.mumble.override { pulseSupport = true; })
  ];
}