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