mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +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 = [
|
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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
{config, pkgs, ...}:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
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 = {
|
||||||
]
|
|
||||||
};*/
|
}; }
|
||||||
|
]
|
||||||
|
};
|
||||||
}
|
}
|
|
@ -39,8 +39,12 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy.virtualHosts."http://sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
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 = {
|
services.homepage-dashboard = {
|
||||||
enable = true;
|
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