X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/07c1738eb48a6cc99a887472b62e77ee17c879ee..b6916fcd97ab132495e36b97ccac28c285906a68:/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service diff --git a/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service b/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service index 328fecf..b455e60 100644 --- a/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service +++ b/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service @@ -7,7 +7,10 @@ Conflicts=getty@tty1.service [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