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

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-24 01:22:11 -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;
};
};
};
};
}