all repos — archive/nixos-configuration @ 6e95ba073f09f9c85b0ec4b392f54e9f8c881f96

Superseded by nixfiles

modules/hardware/audio.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, pkgs, ... }:

{ hardware.pulseaudio = {
    enable = true;
    support32Bit = true;
    package = if config.hardware.bluetooth.enable
      then pkgs.pulseaudioFull
      else pkgs.pulseaudio;
  };

  sound.enable = true;

  environment.systemPackages = with pkgs; [
    pamixer
    pavucontrol
  ];
}