From 4ea4d82cec7ca3e66a10b2cd5bffe82d6854ff5d Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 9 Aug 2024 11:45:10 +0000 Subject: util/liveiso/nixos/graphical: Replace PulseAudio with PipeWire MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PipeWire is the successor of PulseAudio. So use that instead. Change-Id: Ib557925e481ab72a31a64c4bf353a261dff4296d Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/83851 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) Reviewed-by: Jan Philipp Groß --- util/liveiso/nixos/graphical.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'util') diff --git a/util/liveiso/nixos/graphical.nix b/util/liveiso/nixos/graphical.nix index 8d51caf071..b4188f4aaf 100644 --- a/util/liveiso/nixos/graphical.nix +++ b/util/liveiso/nixos/graphical.nix @@ -7,11 +7,6 @@ ./common.nix ]; - hardware.pulseaudio = { - enable = true; - package = pkgs.pulseaudioFull; - }; - security.polkit = { enable = true; extraConfig = '' @@ -38,6 +33,13 @@ desktopManager.gnome.enable = true; }; + hardware.pulseaudio.enable = false; + services.pipewire = { + enable = true; + pulse.enable = true; + alsa.enable = true; + }; + users.users.user.extraGroups = [ "audio" "video" "input" ]; environment.systemPackages = with pkgs; [ -- cgit v1.2.3