Déploiement Riot
This commit is contained in:
parent
72d0ff0b4f
commit
d570d18342
10
services.nix
10
services.nix
@ -4,6 +4,7 @@ with lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
domaine = "nyanlout.re";
|
domaine = "nyanlout.re";
|
||||||
|
riot_port = 52345;
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -23,6 +24,7 @@ in
|
|||||||
syncthing = { ip = "127.0.0.1"; port = 8384; auth = true; };
|
syncthing = { ip = "127.0.0.1"; port = 8384; auth = true; };
|
||||||
jackett = { ip = "127.0.0.1"; port = 9117; auth = true; };
|
jackett = { ip = "127.0.0.1"; port = 9117; auth = true; };
|
||||||
searx = { ip = "127.0.0.1"; port = 8888; auth = false; };
|
searx = { ip = "127.0.0.1"; port = 8888; auth = false; };
|
||||||
|
riot = { ip = "127.0.0.1"; port = riot_port; auth = false; };
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mailserver.enable = true;
|
services.mailserver.enable = true;
|
||||||
@ -92,6 +94,14 @@ in
|
|||||||
|
|
||||||
services.searx.enable = true;
|
services.searx.enable = true;
|
||||||
|
|
||||||
|
services.nginx.enable = true;
|
||||||
|
services.nginx.virtualHosts = {
|
||||||
|
"riot" = {
|
||||||
|
listen = [ { addr = "127.0.0.1"; port = riot_port; } ];
|
||||||
|
locations = { "/" = { root = pkgs.riot-web; }; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
111 2049 4000 4001 4002 # NFS
|
111 2049 4000 4001 4002 # NFS
|
||||||
3483 9000 9090 # Slimserver
|
3483 9000 9090 # Slimserver
|
||||||
|
Loading…
Reference in New Issue
Block a user