Kodi: Difference between revisions
imported>Dschrempf m Capitalize Kodi |
imported from old wiki |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Kodi (formerly known as XBMC) is an award-winning free and open source (GPL) software media player and entertainment hub that can be installed on Linux, OSX, Windows, iOS and Android, featuring a 10-foot user interface for use with televisions and remote controls. | [https://kodi.tv Kodi] (formerly known as XBMC) is an award-winning free and open source (GPL) software media player and entertainment hub that can be installed on Linux, OSX, Windows, iOS and Android, featuring a 10-foot user interface for use with televisions and remote controls. | ||
== Basic module usage == | == Basic module usage == | ||
Line 6: | Line 6: | ||
With this configuration Kodi will run automatically on boot: | With this configuration Kodi will run automatically on boot: | ||
< | <syntaxhighlight lang="nix"> | ||
{ | { | ||
services.xserver.enable = true; | services.xserver.enable = true; | ||
Line 13: | Line 13: | ||
services.xserver.displayManager.autoLogin.user = "kodi"; | services.xserver.displayManager.autoLogin.user = "kodi"; | ||
services.xserver.displayManager.lightdm.greeter.enable = false; | |||
services.xserver.displayManager.lightdm. | |||
# Define a user account | # Define a user account | ||
users.extraUsers.kodi.isNormalUser = true; | users.extraUsers.kodi.isNormalUser = true; | ||
} | } | ||
</ | </syntaxhighlight> | ||
== Access from other machines == | == Access from other machines == | ||
Line 64: | Line 61: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
environment.systemPackages = [ | environment.systemPackages = [ | ||
(pkgs.kodi | (pkgs.kodi.withPackages (kodiPkgs: with kodiPkgs; [ | ||
jellyfin | jellyfin | ||
])) | |||
]; | |||
</syntaxHighlight> | |||
Or if using as the startup desktop service: | |||
<syntaxHighlight lang=nix> | |||
services.xserver.desktopManager.kodi.package = | |||
pkgs.kodi.withPackages (pkgs: with pkgs; [ | |||
jellycon | |||
])) | ])) | ||
]; | ]; | ||
Line 71: | Line 78: | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Server]] |