From 643f1b775375586a57051c9e56958aa4b0799b77 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 19 Jun 2024 13:55:24 +0100 Subject: [PATCH] Switch pulseaudio back to pipewire --- configuration/default.nix | 1 + configuration/desktop.nix | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/configuration/default.nix b/configuration/default.nix index 5525fb59..f2a220d5 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -102,6 +102,7 @@ useStockConfig = true; }; }; + security.rtkit.enable = true; virtualisation.podman.enable = true; time.timeZone = "Europe/London"; i18n.defaultLocale = "en_GB.UTF-8"; diff --git a/configuration/desktop.nix b/configuration/desktop.nix index 0c58b190..16b4139a 100644 --- a/configuration/desktop.nix +++ b/configuration/desktop.nix @@ -7,10 +7,7 @@ imports = [./default.nix]; nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; system.autoUpgrade.operation = "boot"; - hardware = { - pulseaudio.enable = true; - bluetooth.enable = true; - }; + hardware.bluetooth.enable = true; environment = { plasma6 = lib.mkIf config.services.desktopManager.plasma6.enable @@ -33,6 +30,14 @@ services = { flatpak.enable = true; printing.enable = true; + pipewire = { + enable = true; + pulse.enable = true; + alsa = { + enable = true; + support32Bit = true; + }; + }; xserver = { enable = true; xkb = {