[Service]
User=kodi
Group=kodi
-EnvironmentFile=-/etc/conf.d/kodi-standalone
+
+# It seems that udev events aren't propagated to sdl within nspawn. So udev hotplug doesn't work.
+# SDL offers alternative methods to discover new devices, inotify and polling, use one of those.
+Environment=SDL_JOYSTICK_DISABLE_UDEV=1
Environment=WINDOWING=wayland
RuntimeDirectory=kodi