diff --git a/configs/pepe/home-assistant/kodi.nix b/configs/pepe/home-assistant/kodi.nix index b0f6dcb..619f82c 100644 --- a/configs/pepe/home-assistant/kodi.nix +++ b/configs/pepe/home-assistant/kodi.nix @@ -46,7 +46,7 @@ service = "switch.turn_on"; data.entity_id = "group.tv"; } - { delay.minutes = 1; } + { delay.seconds = 20; } { alias = "start kodi"; service = "shell_command.start_display"; diff --git a/configs/pepe/kodi.nix b/configs/pepe/kodi.nix index 061f30f..180880e 100644 --- a/configs/pepe/kodi.nix +++ b/configs/pepe/kodi.nix @@ -3,6 +3,11 @@ services.xserver = { enable = true; autorun = false; + videoDrivers = [ "intel" ]; + deviceSection = '' + Option "DRI" "2" + Option "TearFree" "true" + ''; desktopManager = { kodi.enable = true; default = "kodi"; @@ -35,4 +40,5 @@ allowedTCPPorts = [ 8080 ]; allowedUDPPorts = [ 8080 ]; }; + }