summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/gui/pipewire.nix
blob: d526815512147fa91a2fc363fefceefdd64f1af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, lib, pkgs, ... }:
# TODO test `alsactl init` after suspend to reinit mic
{
  security.rtkit.enable = true;
  hardware.pulseaudio.enable = lib.mkForce false;

  environment.systemPackages = with pkgs; [
    alsaUtils
    pulseaudio
    ponymix
  ];

  services.pipewire = {
    enable = true;
    # systemWide = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
  };
}