Kodi with Advanced Launcher?

Hi I’m trying to enable advanced launcher for Kodi, in both the official and unofficial wiki it says to set nixpkgs.config.kodi.enableAdvancedLauncher to true, but when I do that and restart Kodi nothing happens, normally when I add a addon Kodi notifies me on start that a new addon was added.

Is the enableAdvancedLauncher broken or can’t I combine it with pkgs.kodi.withPackages (kodiPkgs: with kodiPkgs; [...] )?

My current kodi config:

{ config, pkgs, lib, variables, ... }: let
  kodiAndPlugins = pkgs.kodi-gbm.withPackages (kodiPkgs: with kodiPkgs; [
    jellycon
    youtube
    sponsorblock
    joystick
  ]);
in
{
  users = {
    users = {
      kodi = {
        uid = variables.users.kodi.id;
        isNormalUser = true;
        extraGroups = [
          # allow kodi access to keyboards
          "input"
          "dialout"
        ];
      };
    };
  };

  # use alsa; which supports hdmi passthrough
  services.pulseaudio.enable = false;
  services.pipewire.enable = false;

  environment.systemPackages = with pkgs; [
    kodiAndPlugins
  ];

  # enable kodi advanced launcher
  nixpkgs.config.kodi.enableAdvancedLauncher = true;
  nixpkgs.config.kodi-gbm.enableAdvancedLauncher = true;

  # auto-login and launch kodi
  services.getty.autologinUser = "kodi";
  services.greetd = {
    enable = true;
    settings = {
      initial_session = {
        command = "${kodiAndPlugins}/bin/kodi-standalone";
        user = "kodi";
      };
      default_session = {
        command = "${pkgs.greetd.greetd}/bin/agreety --cmd sway";
      };
    };
  };

  programs.sway = {
    enable = true;
    xwayland.enable = false;
  };
}

Source:
https://nixos.wiki/wiki/Kodi#Plugins

weird… someone should update the wiki then, because config.kodi.* was removed years ago, in 2021

when you say “advanced launcher for Kodi” which kodi addon specifically are you referring to?

I’m looking for https://forum.kodi.tv/showthread.php?tid=366351 or https://forum.kodi.tv/showthread.php?tid=287826
But none of them seem to be under the normal plugins? but there are plugins that are dependant on them kodi-retroarch-advanced-launchers - MyNixOS ?

ah, sorry, i’m not familiar with that program (or addon?)

after looking at it i am not sure it is actually relevant anymore, though - it seems the point is to make sure that kodi doesn’t absorb input when running emulators. if you’re not interested in running a window manager you still have the option of adding retroarch cores directly as kodi addons, and kodi will entirely manage these retroarch emulation cores ensuring that your input is directed exactly where you want it to be

… the only downside is that kodi doesn’t yet support retroarch cores which require 3d acceleration, though that is being worked on

maybe you can give this expression a try for your kodi package and see if that fits your needs:

kodi-gbm.withPackages (kodiPkgs: [
  kodiPkgs.libretro-snes9x
  kodiPkgs.libretro-gens
  kodiPkgs.iagl

  /* and whatever else you want */
])