summaryrefslogblamecommitdiffstats
path: root/nixos/modules/sound.nix
blob: 21a7a2858207c703c04b258470ab021a0f06e33a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                          
{
  hardware.pulseaudio.enable = false;
  sound.enable = true;

  # rtkit is optional but recommended
  security.rtkit.enable = true;

  services.pipewire = {
    enable = true;

    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;

    # If you want to use JACK applications, uncomment this
    #jack.enable = true;
  };
}