diff options
author | obadz <obadz-git@obadz.com> | 2016-06-18 16:26:15 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-06-18 16:28:06 +0100 |
commit | 8ab188eb162087855f19ef66cfdc6e39e724bc47 (patch) | |
tree | 5efef190f89df7df02d1d280d7135baf18e2c6af /nixos/modules/services/networking/pptpd.nix | |
parent | 6a3dcb70bcd64dea886c64181c5fb963cec1d289 (diff) | |
download | nixpkgs-8ab188eb162087855f19ef66cfdc6e39e724bc47.tar nixpkgs-8ab188eb162087855f19ef66cfdc6e39e724bc47.tar.gz nixpkgs-8ab188eb162087855f19ef66cfdc6e39e724bc47.tar.bz2 nixpkgs-8ab188eb162087855f19ef66cfdc6e39e724bc47.tar.lz nixpkgs-8ab188eb162087855f19ef66cfdc6e39e724bc47.tar.xz nixpkgs-8ab188eb162087855f19ef66cfdc6e39e724bc47.tar.zst nixpkgs-8ab188eb162087855f19ef66cfdc6e39e724bc47.zip |
pptpd service: improve option descriptions per @bjornfor's suggestion
Diffstat (limited to 'nixos/modules/services/networking/pptpd.nix')
-rw-r--r-- | nixos/modules/services/networking/pptpd.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/networking/pptpd.nix b/nixos/modules/services/networking/pptpd.nix index 0ae6ae4cf2a..efed604d3dd 100644 --- a/nixos/modules/services/networking/pptpd.nix +++ b/nixos/modules/services/networking/pptpd.nix @@ -5,35 +5,35 @@ with lib; { options = { services.pptpd = { - enable = mkEnableOption "enable pptpd running on startup"; + enable = mkEnableOption "Whether pptpd should be run on startup."; serverIp = mkOption { type = types.string; - description = "server ip"; + description = "The server-side IP address."; default = "10.124.124.1"; }; clientIpRange = mkOption { type = types.string; - description = "client ip range"; + description = "The range from which client IPs are drawn."; default = "10.124.142.2-11"; }; maxClients = mkOption { type = types.int; - description = "maximum number of simultaneous connections"; + description = "The maximum number of simultaneous connections."; default = 10; }; extraPptpdOptions = mkOption { type = types.lines; - description = "extra lines for the pptpd configuration files"; + description = "Adds extra lines to the pptpd configuration file."; default = ""; }; extraPppdOptions = mkOption { type = types.lines; - description = "extra lines for the pppd options files"; + description = "Adds extra lines to the pppd options file."; default = ""; example = '' ms-dns 8.8.8.8 |