From 4769eb4f58c30c004e0e2acc60f1d5f7f1503130 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Thu, 11 Mar 2021 19:52:33 -0500 Subject: [PATCH] kodi: add release notes for kodi.withPackages --- nixos/doc/manual/release-notes/rl-2105.xml | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2105.xml b/nixos/doc/manual/release-notes/rl-2105.xml index e052632ecaf..7e5505e588a 100644 --- a/nixos/doc/manual/release-notes/rl-2105.xml +++ b/nixos/doc/manual/release-notes/rl-2105.xml @@ -577,6 +577,37 @@ self: super: for your Kafka version. + + + The kodi package has been modified to allow concise addon management. Consider + the following configuration from previous releases of NixOS to install kodi, + including the kodiPackages.inputstream-adaptive and kodiPackages.vfs-sftp + addons: + + +environment.systemPackages = [ + pkgs.kodi +]; + +nixpkgs.config.kodi = { + enableInputStreamAdaptive = true; + enableVFSSFTP = true; +}; + + + All Kodi config flags have been removed, and as a result the above configuration + should now be written as: + + +environment.systemPackages = [ + (pkgs.kodi.withPackages (p: with p; [ + inputstream-adaptive + vfs-sftp + ])) +]; + + +