This commit is contained in:
Johannes Jöns 2024-01-01 02:00:07 +01:00
parent 22c4672c90
commit 1fdde5630d

View file

@ -5,13 +5,15 @@ in {
options.jopejoe1.kodi = { enable = lib.mkEnableOption "Enable Kodi"; }; options.jopejoe1.kodi = { enable = lib.mkEnableOption "Enable Kodi"; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.kodi ];
services.xserver = { services.xserver = {
enable = true; enable = true;
desktopManager.kodi = { desktopManager.kodi = {
enable = true; enable = false;
package = pkgs.kodi-wayland; package = pkgs.kodi-wayland;
}; };
displayManager = { displayManager = {
defaultSession = "";
autoLogin = { autoLogin = {
enable = true; enable = true;
user = "jopejoe1"; user = "jopejoe1";