about summary refs log tree commit diff
path: root/nixos/modules/services/networking/pptpd.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-08-08 22:48:27 +0200
committerSilvan Mosberger <infinisil@icloud.com>2019-08-31 18:19:00 +0200
commit478e7184f88db1364cc75107036f7c4decc0cc41 (patch)
tree5ff3d3a18e3aef9af4333c392a94751333754270 /nixos/modules/services/networking/pptpd.nix
parent69d58ee24506e2b3b5aff347ae3b0791110340ec (diff)
nixos/modules: Remove all usages of types.string
And replace them with a more appropriate type

Also fix up some minor module problems along the way
Diffstat (limited to 'nixos/modules/services/networking/pptpd.nix')
-rw-r--r--nixos/modules/services/networking/pptpd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/pptpd.nix b/nixos/modules/services/networking/pptpd.nix
index d8b9e8f8341a5..3e7753b9dd352 100644
--- a/nixos/modules/services/networking/pptpd.nix
+++ b/nixos/modules/services/networking/pptpd.nix
@@ -8,13 +8,13 @@ with lib;
       enable = mkEnableOption "pptpd, the Point-to-Point Tunneling Protocol daemon";
 
       serverIp = mkOption {
-        type        = types.string;
+        type        = types.str;
         description = "The server-side IP address.";
         default     = "10.124.124.1";
       };
 
       clientIpRange = mkOption {
-        type        = types.string;
+        type        = types.str;
         description = "The range from which client IPs are drawn.";
         default     = "10.124.124.2-11";
       };