about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlper Çelik <dev.alpercelik@gmail.com>2023-02-09 13:37:26 +0300
committerAlper Çelik <dev.alpercelik@gmail.com>2023-02-09 13:53:28 +0300
commit0b74f9829fe845b815601d4799282f3123383534 (patch)
tree17f24c04815897dbc156e48a698521f086a5fa04
parente24aeba89aae964c0e517a7d2789713dcb5c1fb5 (diff)
nixos/plasma5: use vlc phonon backend by default
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2305.section.xml8
-rw-r--r--nixos/doc/manual/release-notes/rl-2305.section.md2
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix4
3 files changed, 12 insertions, 2 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
index 6936fdd2605fe..b5220fbb99648 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
@@ -916,6 +916,14 @@
       </listitem>
       <listitem>
         <para>
+          <literal>services.xserver.desktopManager.plasma5.phononBackend</literal>
+          now defaults to vlc according to
+          <link xlink:href="https://community.kde.org/Distributions/Packaging_Recommendations#Non-Plasma_packages">upstrean
+          recommendation</link>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
           The <literal>zramSwap</literal> is now implemented with
           <literal>zram-generator</literal>, and the option
           <literal>zramSwap.numDevices</literal> for using ZRAM devices
diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md
index b7614c0788cf1..c81cbc69f94ea 100644
--- a/nixos/doc/manual/release-notes/rl-2305.section.md
+++ b/nixos/doc/manual/release-notes/rl-2305.section.md
@@ -223,6 +223,8 @@ In addition to numerous new and upgraded packages, this release has the followin
 
 - The `services.fwupd` module now allows arbitrary daemon settings to be configured in a structured manner ([`services.fwupd.daemonSettings`](#opt-services.fwupd.daemonSettings)).
 
+- `services.xserver.desktopManager.plasma5.phononBackend` now defaults to vlc according to [upstrean recommendation](https://community.kde.org/Distributions/Packaging_Recommendations#Non-Plasma_packages)
+
 - The `zramSwap` is now implemented with `zram-generator`, and the option `zramSwap.numDevices` for using ZRAM devices as general purpose ephemeral block devices has been removed.
 
 - As Singularity has renamed to [Apptainer](https://apptainer.org/news/community-announcement-20211130)
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index 181db01ad88e3..c150adcac26b2 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -90,8 +90,8 @@ in
 
     phononBackend = mkOption {
       type = types.enum [ "gstreamer" "vlc" ];
-      default = "gstreamer";
-      example = "vlc";
+      default = "vlc";
+      example = "gstreamer";
       description = lib.mdDoc "Phonon audio backend to install.";
     };