1
0
Fork 0
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:
Daiderd Jordan 2019-09-01 10:10:15 +02:00 committed by GitHub
commit d6a3aead15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'';