enable i2p site

This commit is contained in:
Ivan Dimitrov 2023-12-08 17:31:09 +02:00
parent e752f1cc8d
commit 16069f1c35
2 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{
imports = [ ./configuration.nix ./mailserver ./roundcube ./postgres ./wireguard ./nginx ./webshite ./tor ];
imports = [ ./configuration.nix ./mailserver ./roundcube ./postgres ./wireguard ./nginx ./webshite ./tor ./i2pd ];
}

View File

@ -0,0 +1,14 @@
{
services.i2pd = {
enable = true;
inTunnels = {
idimitrov = {
enable = true;
keys = "idimitrov-keys.dat";
inPort = 80;
destination = "127.0.0.1";
port = 3000;
};
};
};
}