Difference between revisions of "Mumble"

From NixOS Wiki
Jump to: navigation, search
(added how to have pulseaudio support for mumble)
 
m (rollback unauthorized mass edits)
Tag: Rollback
 
(3 intermediate revisions by 3 users not shown)
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>
 
</syntaxhighlight>
  
and add to imports in configuration.nix, for instance as shown below
+
[[Category:Applications]]
 
 
<syntaxhighlight lang="nix">
 
  imports =
 
    [
 
      ./mumble.nix
 
    ];
 
</syntaxhighlight>
 

Latest revision as of 11:00, 6 April 2024

PulseAudio Support

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

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