From 360b94e24558e9f9d963daaa0615422b313a0203 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 26 Sep 2022 19:11:46 +0200 Subject: slylandro: Switch to PipeWire I've been testing PipeWire on this machine for quite a while and it works pretty well so far. My goal is to switch all my machines to it, but since Dnyarri currently has a pretty complicated audio setup I decided to not make it the default for the workstation profile yet. Signed-off-by: aszlig --- machines/aszlig/slylandro.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'machines/aszlig') diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix index 2698028f..8c9e91ab 100644 --- a/machines/aszlig/slylandro.nix +++ b/machines/aszlig/slylandro.nix @@ -37,6 +37,17 @@ location.provider = "geoclue2"; + # XXX: Only on Slylandro for now since Dnyarri has a more complicated setup. + hardware.pulseaudio.enable = lib.mkForce false; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + jack.enable = true; + }; + # This is because the "primary" option below is only supported for the # scripted networking configuration. systemd.network.networks."40-enp1s0" = { -- cgit 1.4.1