dotfiles/modules/os/core/networking/i2p.nix
eriedaberrie 4498e538ea Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-21 00:34:14 -07:00

23 lines
365 B
Nix

{ config, lib, ... }:
let
cfg = config.my.networking.i2p;
in {
options.my.networking.i2p = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
services.i2pd = {
enable = true;
enableIPv4 = true;
enableIPv6 = true;
proto = {
httpProxy = {
enable = true;
};
};
};
};
}