nixos/hosts/common/optional/pipewire.nix

22 lines
426 B
Nix
Raw Permalink Normal View History

2024-05-11 20:55:27 +01:00
{ pkgs, ... }:
{
sound.enable = true;
2024-06-15 01:20:42 +01:00
#hardware.pulseaudio.enable = true;
2024-05-11 20:55:27 +01:00
security.rtkit.enable = true;
2024-06-15 01:20:42 +01:00
#hardware.pulseaudio.package = pkgs.pulseaudioFull;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber.enable = true;
jack.enable = true;
2024-05-11 20:55:27 +01:00
2024-06-15 01:20:42 +01:00
};
environment.systemPackages = [
pkgs.pamixer
pkgs.pavucontrol
2024-05-11 20:55:27 +01:00
];
}