From 576d694bccc07c0d400625bd7c05e2a1e26be834 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 26 Apr 2020 20:15:39 +0200 Subject: [PATCH] kodi: try to fix issues --- configs/pepe/home-assistant/kodi.nix | 2 +- configs/pepe/kodi.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 ]; }; + }