From 549b4f1cccb18b310c916464598b83c4a7858490 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 5 Apr 2021 12:40:41 +0100 Subject: [PATCH] porcorosso: switch to pipewire --- ops/nixos/porcorosso/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index 5fa4d7eeee..78b1fdb5f2 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -169,9 +169,20 @@ in { intel-media-driver vaapiVdpau libvdpau-va-gl libva ]; hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; - hardware.pulseaudio.support32Bit = true; hardware.acpilight.enable = true; + # TODO(lukegb): finish evaluating pipewire + hardware.pulseaudio.enable = lib.mkForce false; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + jack.enable = true; + pulse.enable = true; + + media-session.enable = true; + }; + # Define a user account. users.users.lukegb = { extraGroups = [ "wheel" "networkmanager" "libvirtd" "lxd" "video" ];