mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-02-22 14:23:57 +01:00
exposed jellyfin & cleaned some mess
This commit is contained in:
parent
8998b072c3
commit
7a2f6147a2
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
|
@ -28,6 +28,6 @@
|
|||
ethtool
|
||||
networkd-dispatcher
|
||||
transcrypt
|
||||
libressl_3_8
|
||||
libressl_3_9
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
*/
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
intel-media-sdk # QSV up to 11th gen
|
||||
];
|
||||
};
|
||||
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
http_addr = "0.0.0.0";
|
||||
http_port = 3000;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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" = {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.i2pd = {
|
||||
enable = true;
|
||||
upnp.enable = true;
|
||||
};
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
HOST = "0.0.0.0";
|
||||
PORT = "4000";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -36,6 +36,7 @@ in
|
|||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
22 # ssh
|
||||
80 # http
|
||||
8008 # matrix-synapse
|
||||
8448 # matrix-synapse
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue