summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-09-12 21:26:17 +0200
committerAdrian Kummerlaender2021-09-12 21:26:17 +0200
commitc95f0dce2391e9a56d91a8501a3362f6d75975aa (patch)
treea2bd80cca50843c97a0050356fdf3f8d2798038a
parentdf1073ecb2c42eae043ab69a0b250caeea24731c (diff)
downloadnixos_system-c95f0dce2391e9a56d91a8501a3362f6d75975aa.tar
nixos_system-c95f0dce2391e9a56d91a8501a3362f6d75975aa.tar.gz
nixos_system-c95f0dce2391e9a56d91a8501a3362f6d75975aa.tar.bz2
nixos_system-c95f0dce2391e9a56d91a8501a3362f6d75975aa.tar.lz
nixos_system-c95f0dce2391e9a56d91a8501a3362f6d75975aa.tar.xz
nixos_system-c95f0dce2391e9a56d91a8501a3362f6d75975aa.tar.zst
nixos_system-c95f0dce2391e9a56d91a8501a3362f6d75975aa.zip
Use PipeWire for audio
-rw-r--r--host/software/desktop/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/host/software/desktop/default.nix b/host/software/desktop/default.nix
index 9b8239c..3bf68c1 100644
--- a/host/software/desktop/default.nix
+++ b/host/software/desktop/default.nix
@@ -7,17 +7,19 @@
fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];
- sound.enable = true;
+ services.pipewire = {
+ enable = true;
+ alsa = {
+ enable = true;
+ support32Bit = true;
+ };
+ pulse.enable = true;
+ };
hardware = {
opengl= {
driSupport32Bit = true;
};
-
- pulseaudio = {
- enable = true;
- support32Bit = true;
- };
};
services = {