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

View file

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

View file

@ -39,8 +39,12 @@ in
};
services.caddy.virtualHosts."http://sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :8082
'';
reverse_proxy :8082
'';
services.caddy.virtualHosts."http://home.hypervirtual.world".extraConfig = ''
reverse_proxy :8082
'';
services.homepage-dashboard = {
enable = true;
@ -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";
};
}
];
}
{