use jellyfin instead and add all the services for that
This commit is contained in:
parent
a458bc8476
commit
876ab671df
2 changed files with 54 additions and 15 deletions
|
@ -51,23 +51,61 @@
|
|||
settings.PermitRootLogin = "no";
|
||||
};
|
||||
|
||||
users.users = {
|
||||
ombi.extraGroups = ["radarr" "sonarr" "aria2"];
|
||||
};
|
||||
services.ombi = {
|
||||
enable = true;
|
||||
port = 2368;
|
||||
};
|
||||
|
||||
users.users = {
|
||||
radarr.extraGroups = ["aria2"];
|
||||
sonarr.extraGroups = ["aria2"];
|
||||
};
|
||||
|
||||
services = {
|
||||
#uses port 7878
|
||||
radarr.enable = true;
|
||||
#uses port 8989
|
||||
sonarr.enable = true;
|
||||
prowlarr.enable = true;
|
||||
};
|
||||
|
||||
#uses port 8096
|
||||
services.jellyfin.enable = true;
|
||||
|
||||
# Add stremio kiosk on wayland :)
|
||||
users.extraUsers.kodi.isNormalUser = true;
|
||||
services.cage.user = "kodi";
|
||||
services.cage.program = "${pkgs.kodi}/bin/kodi-standalone";
|
||||
users.extraUsers.jellyfin.isNormalUser = true;
|
||||
services.cage.user = "jellyfin";
|
||||
services.cage.program = "${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer";
|
||||
services.cage.enable = true;
|
||||
|
||||
users.users.aria2.group = "aria2";
|
||||
users.groups.aria2 = {};
|
||||
users.users.aria2.isSystemUser = true;
|
||||
|
||||
sops.secrets."rpcSecret".mode = "0440";
|
||||
sops.secrets."rpcSecret".owner = config.users.users.aria2.name;
|
||||
|
||||
services.aria2 = {
|
||||
enable = true;
|
||||
downloadDir = "/var/lib/media";
|
||||
rpcListenPort = 6969;
|
||||
rpcSecretFile = config.sops.secrets."rpcSecret".path;
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
(pkgs.kodi.withPackages (kodiPkgs:
|
||||
with kodiPkgs; [
|
||||
steam-controller
|
||||
invidious
|
||||
netflix
|
||||
upnext
|
||||
sponsorblock
|
||||
sendtokodi
|
||||
jellyfin
|
||||
]))
|
||||
# (pkgs.kodi.withPackages (kodiPkgs:
|
||||
# with kodiPkgs; [
|
||||
# steam-controller
|
||||
# invidious
|
||||
# netflix
|
||||
# upnext
|
||||
# sponsorblock
|
||||
# sendtokodi
|
||||
# jellyfin
|
||||
# ]))
|
||||
];
|
||||
|
||||
sops.secrets."protonvpn-priv-key".mode = "0440";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue