mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-04-08 18:20:48 +00:00
Merge pull request #159 from marsam/remove-types-string
modules: remove usages of types.string
This commit is contained in:
commit
d6a3aead15
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -62,7 +62,7 @@ in
|
|||
};
|
||||
|
||||
characterSet = mkOption {
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
default = "UTF8";
|
||||
example = "SJIS";
|
||||
description = ''Character set specified during initialization'';
|
||||
|
|
Loading…
Add table
Reference in a new issue