From 34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 23 Nov 2022 10:23:24 -0600 Subject: plasma5: Enable PipeWire by default `xdg-desktop-portal-kde` expects PipeWire to be running, so we enable it by default, but we don't replace PulseAudio. The user may disable it against our default, if desired. --- nixos/modules/services/x11/desktop-managers/plasma5.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/services/x11/desktop-managers/plasma5.nix') diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index a6ab3053087..c45e606b9f2 100644 --- a/nixos/modules/services/x11/desktop-managers/plasma5.nix +++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix @@ -446,6 +446,9 @@ in xdg.portal.enable = true; xdg.portal.extraPortals = [ plasma5.xdg-desktop-portal-kde ]; + # xdg-desktop-portal-kde expects PipeWire to be running. + # This does not, by default, replace PulseAudio. + services.pipewire.enable = mkDefault true; # Update the start menu for each user that is currently logged in system.userActivationScripts.plasmaSetup = activationScript; -- cgit 1.4.1