kodi: try to fix issues

This commit is contained in:
Ingolf Wagner 2020-04-26 20:15:39 +02:00
parent 4ee5eca693
commit 576d694bcc
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 7 additions and 1 deletions

View file

@ -46,7 +46,7 @@
service = "switch.turn_on"; service = "switch.turn_on";
data.entity_id = "group.tv"; data.entity_id = "group.tv";
} }
{ delay.minutes = 1; } { delay.seconds = 20; }
{ {
alias = "start kodi"; alias = "start kodi";
service = "shell_command.start_display"; service = "shell_command.start_display";

View file

@ -3,6 +3,11 @@
services.xserver = { services.xserver = {
enable = true; enable = true;
autorun = false; autorun = false;
videoDrivers = [ "intel" ];
deviceSection = ''
Option "DRI" "2"
Option "TearFree" "true"
'';
desktopManager = { desktopManager = {
kodi.enable = true; kodi.enable = true;
default = "kodi"; default = "kodi";
@ -35,4 +40,5 @@
allowedTCPPorts = [ 8080 ]; allowedTCPPorts = [ 8080 ];
allowedUDPPorts = [ 8080 ]; allowedUDPPorts = [ 8080 ];
}; };
} }