Skip to content

Supply external tor/i2p? #680

@IngwiePhoenix

Description

@IngwiePhoenix

Hello! Was pointed here from Nostr. :)

I am currently working on building an LXC container with all the coinage things; bitcoin, cln and plugins for Nostr (will be making packages for those down the line).

However, I already run both i2pd and tor on the LXC host:

 ps | grep -E "/(tor|i2p)"
 2662 tor       300m S    /usr/sbin/tor --runasdaemon 0 -f /tmp/torrc
 3788 i2pd     36176 S    /usr/sbin/i2pd --datadir=/srv/i2pd --conf=/etc/i2pd/i2pd.conf --pidfile /var/run/i2pd.pid

This is on an OpenWrt host, a router (NanoPi R6s), so there is no need to run more i2p and tor instances within the container.

Right now, I am just going to use the (...).extraConfig to add them in - but it would be a little more elegant if this was directly integrated.

How could I achieve that? I am still rather new to NixOS... ^^'

Kind regards,
Ingwie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions