Skip to content

Commit

Permalink
feat(nixos): use plex instead of jellyfin (#12)
Browse files Browse the repository at this point in the history
* feat(nixos): migrate from jellyfin to plex

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix(nixos): tautulli

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix(nixos): api key

* fix: remove jellyfin

* fix: url

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: homepage

* fix: dash

* fix: dashs

* fix: config

* feat: give up on homepage-dashboard

* chore: fmt

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Dec 12, 2023
1 parent 6b2cf73 commit 8efbc64
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 39 deletions.
54 changes: 27 additions & 27 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion machines/media.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@

networking.firewall.allowedTCPPorts = [ 80 443 ];

services.jellyfin = {
services.plex = {
enable = true;
openFirewall = true;
group = "wheel";
user = "carlos";
};
services.tautulli = {
enable = true;
openFirewall = true;
group = "wheel";
Expand Down
29 changes: 18 additions & 11 deletions packages/homer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,25 @@ let
name = "Watch";
items = [
{
name = "Series";
url = "http://media.local:8096/";
type = "Emby";
apikey = "f972a063155049baa6080533886ccdd8";
libraryType = "series";
name = "Plex";
url = "http://media.local:32400/web";
endpoint = "http://media.local:8181";
type = "Tautulli";
apikey = "779ac777f02245fda8f23879e0b9eb37";
target = "_blank";
}
];
}
{
name = "Statistics";
items = [
{
name = "Movies";
url = "http://media.local:8096/";
type = "Emby";
apikey = "f972a063155049baa6080533886ccdd8";
libraryType = "movies";
name = "Tautulli";
endpoint = "http://media.local:8181";
url = "http://media.local:8181";
type = "Tautulli";
apikey = "779ac777f02245fda8f23879e0b9eb37";
target = "_blank";
}
];
}
Expand All @@ -29,7 +36,7 @@ let
items = [
{
name = "Series";
type = "Radarr";
type = "Sonarr";
url = "http://media.local:8989/";
apikey = "71c261a86baf491784a60fa7489620fc";
target = "_blank";
Expand Down

0 comments on commit 8efbc64

Please sign in to comment.