Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types.string -> types.str #62

Merged
merged 1 commit into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/services/email/postfix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ in

dnsBlacklists = mkOption {
default = [];
type = with types; listOf string;
type = with types; listOf str;
description = "dns blacklist servers to use with smtpd_client_restrictions";
};

Expand Down
2 changes: 1 addition & 1 deletion modules/services/reverse-proxy/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ in
'';
};
TLS = mkOption {
type = types.string;
type = types.str;
apply = x: assert (x != "ACME") || abort "Your proxyOptions.TLS or extraMappings.TLS definition was \"ACME\" but the changed implementation for proxyOptions expects now a nixcloud.TLS.certs identifier instead. \nEither\n * remove the TLS definition completely and use the default which is probably what you want or\n * select properly defined nixcloud.TLS identifier instead"; x;
description = ''
Points to an identifier <replaceable>myconfig</replaceable>, which is
Expand Down
8 changes: 4 additions & 4 deletions modules/virtualisation/container.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with lib;
description = "Enable nixcloud LXC based container support";
};
internetInterface = mkOption {
type = types.string;
type = types.str;
default = "enp0s3";
example = "enp4s0";
description = ''
Expand Down Expand Up @@ -54,13 +54,13 @@ with lib;
description = "Enable/disable IPv6 support for nixcloud.container";
};
ipv6InternetInterfaceAddress = mkOption {
type = types.string;
type = types.str;
example = "2001:db8:3c4d:15::1";
default = "";
description = "The IPv6 address which is assigned to the DHCPD6 interface and must be contained in the `ipv6Prefix` as DHCPD6 wouldn't work otherwise.";
};
ipv6Prefix = mkOption {
type = types.string;
type = types.str;
default = "";
example = "2001:db8:3c4d:15::";
description = "See https://www.google.de/search?q=ipv6+prefix";
Expand All @@ -72,7 +72,7 @@ with lib;
description = "See https://www.google.de/search?q=ipv6+prefix";
};
ipv6NameServers = mkOption {
type = types.listOf (types.string);
type = types.listOf (types.str);
default = [];
example = [ "2a01:4f8:0:1::add:1010" "2a01:4f8:0:1::add:9999" "2a01:4f8:0:1::add:9898" ];
description = "A list of IPv6 nameservers which are used in the LXC guests to resolve DNS requets via IPv6";
Expand Down