Kodi: Difference between revisions
imported>Timokau m Remove duplicate user definition |
imported>Timokau Add a short plugins sections since I didn't find any documentation on this. |
||
Line 45: | Line 45: | ||
services.cage.enable = true; | services.cage.enable = true; | ||
} | } | ||
</syntaxHighlight> | |||
== Plugins == | |||
There are two different ways to install plugins. You can either set the relevant option (search pkgs/top-level/all-packages.nix for "wrapKodi" for a list) through NixOS or home-manager: | |||
<syntaxHighlight lang=nix> | |||
nixpkgs.config.kodi.enableAdvancedLauncher = true; | |||
</syntaxHighlight> | |||
or override Kodi to include the plugins (see pkgs/applications/video/kodi/plugins.nix for a list or search in the kodiPlugins namespace): | |||
<syntaxHighlight lang=nix> | |||
environment.systemPackages = [ | |||
(pkgs.kodi.override { | |||
plugins = with pkgs.kodiPlugins; [ | |||
advanced-launcher | |||
]; | |||
}) | |||
]; | |||
</syntaxHighlight> | </syntaxHighlight> |