feat: install jellyfin
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
562b14535c
commit
43322818de
4 changed files with 118 additions and 10 deletions
|
|
@ -136,6 +136,44 @@
|
|||
cookiesFile = config.sops.secrets.bandcampcdCookieFile.path;
|
||||
};
|
||||
|
||||
services.declarative-jellyfin = {
|
||||
enable = true;
|
||||
serverId = "71c25c254161412ebf8e7e7fc599d7f8";
|
||||
|
||||
libraries = {
|
||||
Movies = {
|
||||
enabled = true;
|
||||
contentType = "movies";
|
||||
pathInfos = [ "/data/movies" ];
|
||||
|
||||
typeOptions.Movies = {
|
||||
metadataFetchers = [
|
||||
"The Open Movie Database"
|
||||
"TheMovieDb"
|
||||
];
|
||||
imageFetchers = [
|
||||
"The Open Movie Database"
|
||||
"TheMovieDb"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Shows = {
|
||||
enabled = true;
|
||||
contentType = "tvshows";
|
||||
pathInfos = [ "/data/shows" ];
|
||||
};
|
||||
};
|
||||
|
||||
users = {
|
||||
Lander = {
|
||||
mutable = false;
|
||||
permissions.isAdministrator = true;
|
||||
hashedPasswordFile = config.sops.secrets.jellyfin-lander-password.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./hosting-02.yaml;
|
||||
secrets = {
|
||||
|
|
@ -157,6 +195,10 @@
|
|||
bandcampcdCookieFile = {
|
||||
owner = "bandcampcd";
|
||||
};
|
||||
jellyfin-lander-password = {
|
||||
owner = config.services.jellyfin.user;
|
||||
group = config.services.jellyfin.group;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue