From 1fdde5630d6790a5c825c54c06ad7fe4dd4c75f6 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Mon, 1 Jan 2024 02:00:07 +0100 Subject: [PATCH] use kodi --- modules/kodi/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/kodi/default.nix b/modules/kodi/default.nix index e600877..189cf2c 100644 --- a/modules/kodi/default.nix +++ b/modules/kodi/default.nix @@ -5,13 +5,15 @@ in { options.jopejoe1.kodi = { enable = lib.mkEnableOption "Enable Kodi"; }; config = lib.mkIf cfg.enable { + environment.systemPackages = [ pkgs.kodi ]; services.xserver = { enable = true; desktopManager.kodi = { - enable = true; + enable = false; package = pkgs.kodi-wayland; }; displayManager = { + defaultSession = ""; autoLogin = { enable = true; user = "jopejoe1";