This commit is contained in:
tristan 2024-01-24 18:25:42 +00:00
parent 4ef349aed2
commit 0ec05f4453
2 changed files with 36 additions and 0 deletions

View file

@ -22,6 +22,7 @@
./programs/git.nix ./programs/git.nix
./programs/lf/. ./programs/lf/.
./programs/shell.nix ./programs/shell.nix
./programs/kodi.nix
{ {
options.windowManager.modifierKey = lib.mkOption {default = "SUPER";}; options.windowManager.modifierKey = lib.mkOption {default = "SUPER";};
} }

35
home/programs/kodi.nix Normal file
View file

@ -0,0 +1,35 @@
{
pkgs,
config,
...
}
: {
home.packages = with pkgs; [
xboxdrv
];
programs.kodi = {
enable = true;
package =
pkgs.kodi-wayland.withPackages
(exts:
with exts; [
jellyfin
steam-launcher
joystick
youtube
]);
datadir = "${config.xdg.dataHome}/kodi";
addonSettings = {
"plugin.video.jellyfin" = {
"username" = "tristan"; # type="text" default="" visible="true" enable="false" />
"serverName" = "movies.tristans.cloud"; # type="text" default="" enable="false" />
"server" = "https://movies.tristans.cloud/"; # type="text" default="" visible="true" enable="false" />
# "sslverify" = false; # type="bool" default="true" visible="true" />
"kodiCompanion" = "true"; # sync queue
};
"plugin.script.steam.launcher" = {
"KodiLinux" = "${pkgs.steam}/bin/steam"; # type="executable" label="Your Steam executable file (Steam.exe)"
};
};
};
}