summary refs log tree commit diff
path: root/nixos/modules/services/networking/i2pd.nix
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2017-09-12 10:13:29 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2017-09-12 10:13:29 +0200
commit847ce53ab19e1bfcae2584f93817d96130c0ff08 (patch)
tree2074cfb3289e0de2556ec7dce45b04f564dbeeff /nixos/modules/services/networking/i2pd.nix
parent26619935d12dbaaae6c8f8ee760f760f0ee7afa0 (diff)
downloadnixpkgs-847ce53ab19e1bfcae2584f93817d96130c0ff08.tar
nixpkgs-847ce53ab19e1bfcae2584f93817d96130c0ff08.tar.gz
nixpkgs-847ce53ab19e1bfcae2584f93817d96130c0ff08.tar.bz2
nixpkgs-847ce53ab19e1bfcae2584f93817d96130c0ff08.tar.lz
nixpkgs-847ce53ab19e1bfcae2584f93817d96130c0ff08.tar.xz
nixpkgs-847ce53ab19e1bfcae2584f93817d96130c0ff08.tar.zst
nixpkgs-847ce53ab19e1bfcae2584f93817d96130c0ff08.zip
nixos, i2pd: nat option, default true
Diffstat (limited to 'nixos/modules/services/networking/i2pd.nix')
-rw-r--r--nixos/modules/services/networking/i2pd.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/i2pd.nix b/nixos/modules/services/networking/i2pd.nix
index 5c4932075fe..ca2e2a065dc 100644
--- a/nixos/modules/services/networking/i2pd.nix
+++ b/nixos/modules/services/networking/i2pd.nix
@@ -256,6 +256,14 @@ in
         '';
       };
 
+      nat = mkOption {
+        type = types.bool;
+        default = true;
+        description = ''
+          Assume router is NATed. Enabled by default.
+        '';
+      };
+
       upnp = {
         enable = mkOption {
           type = types.bool;