Skip to content

Commit

Permalink
nixos/tsocks: Add types to the options
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Bettens committed Jan 4, 2020
1 parent b9d274b commit caa9ce1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/modules/services/security/torify.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ in
services.tor.tsocks = {

enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to build tsocks wrapper script to relay application traffic via Tor.
Expand All @@ -40,6 +41,7 @@ in
};

server = mkOption {
type = types.str;
default = "localhost:9050";
example = "192.168.0.20";
description = ''
Expand All @@ -48,6 +50,7 @@ in
};

config = mkOption {
type = types.lines;
default = "";
description = ''
Extra configuration. Contents will be added verbatim to TSocks
Expand Down

0 comments on commit caa9ce1

Please sign in to comment.