exposed jellyfin & cleaned some mess

This commit is contained in:
Harry 2024-08-25 12:07:50 +02:00
parent 8998b072c3
commit 7a2f6147a2
12 changed files with 39 additions and 50 deletions

View file

@ -24,6 +24,10 @@
reverse_proxy :8096
'';
"http://media.hypervirtual.world".extraConfig = ''
reverse_proxy :8096
'';
"http://slskd.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :5030
'';
@ -48,7 +52,7 @@
reverse_proxy :3000
'';
"http://status.normandy.hypervirtual.world".extraConfig = ''
"http://status.hypervirtual.world".extraConfig = ''
reverse_proxy :4000
'';

View file

@ -28,6 +28,6 @@
ethtool
networkd-dispatcher
transcrypt
libressl_3_8
libressl_3_9
];
}

View file

@ -1,10 +1,7 @@
{
config,
pkgs,
lib,
...
}:
with lib;
let
cfg = config.arrSuite;
@ -35,27 +32,27 @@ in
enable = true;
openFirewall = true;
};
/*
#TODO: create duplicated instances of Sonarr.
systemd.services."sonarrAnime" = {
enable = true;
description = "Duplicated Sonarr instance, for animes";
after = [
"syslog.target"
"network.target"
];
/*
#TODO: create duplicated instances of Sonarr.
systemd.services."sonarrAnime" = {
enable = true;
description = "Duplicated Sonarr instance, for animes";
after = [
"syslog.target"
"network.target"
];
path = [ pkgs.sonarr ];
serviceConfig = {
Type = "simple";
User = "sonarr";
ExecStart = "${pkgs.sonarr}/bin/Sonarr -nobrowser -data=/var/lib/sonarrAnime";
TimeoutStopSec = "20";
KillMode = "process";
Restart = "on-failure";
path = [ pkgs.sonarr ];
serviceConfig = {
Type = "simple";
User = "sonarr";
ExecStart = "${pkgs.sonarr}/bin/Sonarr -nobrowser -data=/var/lib/sonarrAnime";
TimeoutStopSec = "20";
KillMode = "process";
Restart = "on-failure";
};
wantedBy = [ "multi-user.target" ];
};
wantedBy = [ "multi-user.target" ];
};
*/
*/
}

View file

@ -16,6 +16,7 @@
intel-media-sdk # QSV up to 11th gen
];
};
services.jellyfin = {
enable = true;
openFirewall = true;

View file

@ -2,11 +2,11 @@
with lib;
let
cfg = config.slskd;
cfg = config.downloads.music;
in
{
options = {
slskd.directory = mkOption {
downloads.music.directory = mkOption {
type = types.str;
default = "/srv/media/Music";
};

View file

@ -2,11 +2,11 @@
with lib;
let
cfg = config.transmission;
cfg = config.downloads.transmission;
in
{
options = {
transmission = {
downloads.transmission = {
directory = mkOption {
type = lib.types.str;
default = "/srv/Multimedia";

View file

@ -14,18 +14,14 @@ in
config = {
sops.secrets = {
freshrss_username = {
sopsFile = ../../secrets/freshrss.yaml;
};
freshrss_password = {
sopsFile = ../../secrets/freshrss.yaml;
};
freshrss_username = { };
freshrss_password = { };
};
services.freshrss = {
enable = true;
language = "fr";
defaultUser = config.sops.secrets.freshrss_username;
defaultUser = "";
baseUrl = cfg.url;
passwordFile = config.sops.secrets.freshrss_password.path;
database = {

View file

@ -4,7 +4,6 @@
enable = true;
settings = {
server = {
http_addr = "0.0.0.0";
http_port = 3000;
};
};

View file

@ -220,12 +220,11 @@ in
{
"Utilitaires" = [
{
"Photoprism" = {
icon = "photoprism";
description = "Sauvegarde de photos";
href = "http://${ip}:2342";
"Nextcloud" = {
icon = "nextcloud";
description = "Sauvegarde de données";
href = "https://cloud.hypervirtual.world";
};
}
{
"4get" = {

View file

@ -1,7 +0,0 @@
{ config, pkgs, ... }:
{
services.i2pd = {
enable = true;
upnp.enable = true;
};
}

View file

@ -4,7 +4,6 @@
services.uptime-kuma = {
enable = true;
settings = {
HOST = "0.0.0.0";
PORT = "4000";
};
};

View file

@ -36,6 +36,7 @@ in
enable = true;
allowedTCPPorts = [
22 # ssh
80 # http
8008 # matrix-synapse
8448 # matrix-synapse
];