1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-04-15 00:36:44 +00:00

modules: remove usages of types.string

This commit is contained in:
Mario Rodas 2019-08-31 04:20:00 -05:00
parent ef3d6e4354
commit 2807a31f95
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8
3 changed files with 5 additions and 5 deletions

View file

@ -20,12 +20,12 @@ in
type = types.listOf (types.submodule {
options = {
name = mkOption {
type = types.string;
type = types.str;
example = "socks-peer";
description = "Name of the local AutoSSH session";
};
user = mkOption {
type = types.string;
type = types.str;
example = "bill";
description = "Name of the user the AutoSSH session should run as";
};
@ -40,7 +40,7 @@ in
'';
};
extraArguments = mkOption {
type = types.string;
type = types.str;
example = "-N -D4343 bill@socks.example.net";
description = ''
Arguments to be passed to AutoSSH and retransmitted to SSH

View file

@ -17,7 +17,7 @@ in {
description = "Alternative base URL for the Hercules API";
example = "https://hercules-ci.com";
default = null;
type = types.nullOr types.string;
type = types.nullOr types.str;
};
clusterJoinTokenPath = mkOption {

View file

@ -62,7 +62,7 @@ in
};
characterSet = mkOption {
type = types.string;
type = types.str;
default = "UTF8";
example = "SJIS";
description = ''Character set specified during initialization'';