34 lines
562 B
Nix
34 lines
562 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;
|
|
};
|
|
}
|