36 lines
716 B
Nix
36 lines
716 B
Nix
{ ... }:
|
|
let
|
|
db_pass = import ../config/_passwords.nix;
|
|
in
|
|
{
|
|
my-lxc.media = {
|
|
container = {
|
|
cores = 4;
|
|
memory = 4096;
|
|
disk = "12G";
|
|
swap = 1024;
|
|
};
|
|
db = {
|
|
enable = true;
|
|
password = db_pass.media;
|
|
};
|
|
system = {
|
|
port = 8096; # jellyfin default http
|
|
importConfig = [
|
|
../config/media-jellyfin.nix
|
|
];
|
|
};
|
|
logging = {
|
|
enable = true;
|
|
metricsEnable = true;
|
|
journalLoggers = {
|
|
jellyfin = "";
|
|
};
|
|
};
|
|
private = true;
|
|
auth = true;
|
|
description = "Serveur média avec Jellyfin / jellyseer (?).";
|
|
icon = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/jellyfin.png";
|
|
};
|
|
}
|