nixos/hosts/common/optional/pipewire.nix

22 lines
435 B
Nix
Raw Normal View History

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