summary refs log tree commit diff
path: root/nixos/modules/services/networking/i2pd.nix
diff options
context:
space:
mode:
authorSLNOS <anonymous@wired>2017-07-01 00:00:00 +0000
committerJan Malakhovski <oxij@oxij.org>2017-08-25 12:49:10 +0000
commitfd872c9b71d1ef31e0f2895d934126c20f2ce21d (patch)
tree1ba946b6855c4d40ea6066817b370bdc5ae5ac21 /nixos/modules/services/networking/i2pd.nix
parentaf5de701b7ea5e97e43ffee4de250dbcbf3b244c (diff)
downloadnixpkgs-fd872c9b71d1ef31e0f2895d934126c20f2ce21d.tar
nixpkgs-fd872c9b71d1ef31e0f2895d934126c20f2ce21d.tar.gz
nixpkgs-fd872c9b71d1ef31e0f2895d934126c20f2ce21d.tar.bz2
nixpkgs-fd872c9b71d1ef31e0f2895d934126c20f2ce21d.tar.lz
nixpkgs-fd872c9b71d1ef31e0f2895d934126c20f2ce21d.tar.xz
nixpkgs-fd872c9b71d1ef31e0f2895d934126c20f2ce21d.tar.zst
nixpkgs-fd872c9b71d1ef31e0f2895d934126c20f2ce21d.zip
nixos: i2pd: enable ElGamal precomputation by default
Diffstat (limited to 'nixos/modules/services/networking/i2pd.nix')
-rw-r--r--nixos/modules/services/networking/i2pd.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/i2pd.nix b/nixos/modules/services/networking/i2pd.nix
index 16c247a3a04..14b98f8f715 100644
--- a/nixos/modules/services/networking/i2pd.nix
+++ b/nixos/modules/services/networking/i2pd.nix
@@ -275,9 +275,14 @@ in
 
       precomputation.elgamal = mkOption {
         type = types.bool;
-        default = false;
+        default = true;
         description = ''
-          Use ElGamal precomputated tables.
+          Whenever to use precomputated tables for ElGamal.
+          <command>i2pd</command> defaults to <literal>false</literal>
+          to save 64M of memory (and looses some performance).
+
+          We default to <literal>true</literal> as that is what most
+          users want anyway.
         '';
       };