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 reverse_proxy :8096
''; '';
"http://media.hypervirtual.world".extraConfig = ''
reverse_proxy :8096
'';
"http://slskd.sisyphe.normandy.hypervirtual.world".extraConfig = '' "http://slskd.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :5030 reverse_proxy :5030
''; '';
@ -48,7 +52,7 @@
reverse_proxy :3000 reverse_proxy :3000
''; '';
"http://status.normandy.hypervirtual.world".extraConfig = '' "http://status.hypervirtual.world".extraConfig = ''
reverse_proxy :4000 reverse_proxy :4000
''; '';

View file

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

View file

@ -1,10 +1,7 @@
{ {
config, config,
pkgs,
lib,
... ...
}: }:
with lib;
let let
cfg = config.arrSuite; cfg = config.arrSuite;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -220,12 +220,11 @@ in
{ {
"Utilitaires" = [ "Utilitaires" = [
{ {
"Photoprism" = { "Nextcloud" = {
icon = "photoprism"; icon = "nextcloud";
description = "Sauvegarde de photos"; description = "Sauvegarde de données";
href = "http://${ip}:2342"; href = "https://cloud.hypervirtual.world";
}; };
} }
{ {
"4get" = { "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 = { services.uptime-kuma = {
enable = true; enable = true;
settings = { settings = {
HOST = "0.0.0.0";
PORT = "4000"; PORT = "4000";
}; };
}; };

View file

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