diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2022-11-23 10:23:24 -0600 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-12-14 10:48:51 +0800 |
commit | 34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad (patch) | |
tree | af82822907c8f1fcda882d049f7275286101720d /nixos/modules/services/x11/desktop-managers/plasma5.nix | |
parent | e161ac7bbf8e8f99a87fea3095b4755db5914efe (diff) | |
download | nixpkgs-34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad.tar nixpkgs-34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad.tar.gz nixpkgs-34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad.tar.bz2 nixpkgs-34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad.tar.lz nixpkgs-34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad.tar.xz nixpkgs-34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad.tar.zst nixpkgs-34b2fcfd19c370d88e6ac9d6a37a1110e441b0ad.zip |
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.
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/plasma5.nix')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/plasma5.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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; |