summary refs log tree commit diff
path: root/modules/services/security/tor.nix
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-09-18 12:43:48 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-09-18 12:43:48 +0000
commit41530c8e7679e7a982a41720d026d7f00b81dc7a (patch)
tree4a9f87b589404aab62d5954d7e7679c8271891cf /modules/services/security/tor.nix
parentb2b227c99f364929732324d1bf909022f915c02d (diff)
downloadnixpkgs-41530c8e7679e7a982a41720d026d7f00b81dc7a.tar
nixpkgs-41530c8e7679e7a982a41720d026d7f00b81dc7a.tar.gz
nixpkgs-41530c8e7679e7a982a41720d026d7f00b81dc7a.tar.bz2
nixpkgs-41530c8e7679e7a982a41720d026d7f00b81dc7a.tar.lz
nixpkgs-41530c8e7679e7a982a41720d026d7f00b81dc7a.tar.xz
nixpkgs-41530c8e7679e7a982a41720d026d7f00b81dc7a.tar.zst
nixpkgs-41530c8e7679e7a982a41720d026d7f00b81dc7a.zip
TOR service: sane default for burst rate
svn path=/nixos/trunk/; revision=23851
Diffstat (limited to 'modules/services/security/tor.nix')
-rw-r--r--modules/services/security/tor.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/security/tor.nix b/modules/services/security/tor.nix
index e5e0ba4e70f..5607fcbcdd6 100644
--- a/modules/services/security/tor.nix
+++ b/modules/services/security/tor.nix
@@ -163,7 +163,7 @@ in
         };
 
         bandwidthBurst = mkOption {
-          default = 0;
+          default = cfg.relay.bandwidthRate;
           example = 200;
           description = ''
             Specify this to allow bursts of the bandwidth usage of relayed (server)