From e90cde3c147acb7b5889dc122a5aa38e5f305bb0 Mon Sep 17 00:00:00 2001 From: clerie Date: Sat, 23 Sep 2023 19:34:34 +0200 Subject: [PATCH] configuration/desktop: enable pipewire --- configuration/desktop/audio.nix | 19 +++++++++++++++++++ configuration/desktop/default.nix | 1 + 2 files changed, 20 insertions(+) create mode 100644 configuration/desktop/audio.nix diff --git a/configuration/desktop/audio.nix b/configuration/desktop/audio.nix new file mode 100644 index 0000000..c3c641c --- /dev/null +++ b/configuration/desktop/audio.nix @@ -0,0 +1,19 @@ +{ ... }: + +{ + + hardware.pulseaudio.enable = false; + + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa = { + enable = true; + support32Bit = true; + }; + pulse = { + enable = true; + }; + }; + +} diff --git a/configuration/desktop/default.nix b/configuration/desktop/default.nix index f99eecc..4713d19 100644 --- a/configuration/desktop/default.nix +++ b/configuration/desktop/default.nix @@ -2,6 +2,7 @@ { imports = [ + ./audio.nix ./fonts.nix ./gnome.nix ./networking.nix