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"; };
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";