add kodi
This commit is contained in:
parent
4ef349aed2
commit
0ec05f4453
2 changed files with 36 additions and 0 deletions
35
home/programs/kodi.nix
Normal file
35
home/programs/kodi.nix
Normal 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)"
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue