fix: corriger le chemin d'importation

This commit is contained in:
kity 2025-04-11 17:00:48 +02:00
parent 0df38f9cfd
commit 52ea5b75e8
3 changed files with 29 additions and 15 deletions

View file

@ -14,7 +14,7 @@ in
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./features ./features
../shared ../../shared
]; ];
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.
@ -96,6 +96,7 @@ in
"jellyfin" "jellyfin"
"bazarr" "bazarr"
"calibre-web" "calibre-web"
"sabnzbd"
username username
]; ];
}; };

View file

@ -2,17 +2,19 @@
{ {
services.sabnzbd = { services.sabnzbd = {
enable = true; enable = true;
openFirewall = true;
}; };
services.caddy.virtualHosts."http://sabnzbd.normandy.sisyphe.hypervirtual.world".extraConfig = '' services.caddy.virtualHosts."http://nzb.normandy.sisyphe.hypervirtual.world".extraConfig = ''
reverse_proxy 8080 reverse_proxy 8080
''; '';
/*
services.prometheus.exporters.sabnzbd = { services.prometheus.exporters.sabnzbd = {
enable = true; enable = true;
servers = [ servers = [
localhost { sisyphe = {
}; }
] ]
};*/ };
} }

View file

@ -42,6 +42,10 @@ in
reverse_proxy :8082 reverse_proxy :8082
''; '';
services.caddy.virtualHosts."http://home.hypervirtual.world".extraConfig = ''
reverse_proxy :8082
'';
services.homepage-dashboard = { services.homepage-dashboard = {
enable = true; enable = true;
environmentFile = config.sops.secrets."homepage".path; environmentFile = config.sops.secrets."homepage".path;
@ -245,6 +249,13 @@ in
}; };
}; };
} }
{
"Sabnzbd" = {
icon = "sabnzbd";
description = "s'occupe de naviguer sur les réseaux usenet";
href = "http://nzb.sisyphe.normandy.hypervirtual.world";
};
}
]; ];
} }
{ {