about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-09-26 19:11:46 +0200
committeraszlig <aszlig@nix.build>2022-09-26 19:15:24 +0200
commit360b94e24558e9f9d963daaa0615422b313a0203 (patch)
tree4572a8132bf6581caac1a56c0b80aa5fc51932d9 /machines/aszlig
parent5b3146b5a6fcce81e28bc55ffd1c7d2fbf2e892f (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/slylandro.nix11
1 files changed, 11 insertions, 0 deletions
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" = {