Kodi: Difference between revisions

Klinger (talk | contribs)
m added link to kodi.tv, added category:server
import from old wiki
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>
<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";


# This may be needed to force Lightdm into 'autologin' mode.
   services.xserver.displayManager.lightdm.greeter.enable = false;
# Setting an integer for the amount of time lightdm will wait
# between attempts to try to autologin again.
   services.xserver.displayManager.lightdm.autoLogin.timeout = 3;


   # Define a user account
   # Define a user account
   users.extraUsers.kodi.isNormalUser = true;
   users.extraUsers.kodi.isNormalUser = true;
}
}
</syntaxHighlight>
</syntaxhighlight>


== Access from other machines ==
== Access from other machines ==