mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +02:00
fix: corriger le chemin d'importation
This commit is contained in:
parent
0df38f9cfd
commit
52ea5b75e8
3 changed files with 29 additions and 15 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
||||
}; }
|
||||
]
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue