mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
ssh: use types.str
instead of types.string
The `types.string` type is deprecated due to its surprising behavior.
This commit is contained in:
parent
961722c3a8
commit
ecf7d91d8b
1 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ let
|
|||
};
|
||||
|
||||
identityFile = mkOption {
|
||||
type = types.nullOr types.string;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
Specifies a file from which the user identity is read.
|
||||
|
@ -63,13 +63,13 @@ let
|
|||
};
|
||||
|
||||
user = mkOption {
|
||||
type = types.nullOr types.string;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = "Specifies the user to log in as.";
|
||||
};
|
||||
|
||||
hostname = mkOption {
|
||||
type = types.nullOr types.string;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = "Specifies the real host name to log into.";
|
||||
};
|
||||
|
@ -137,7 +137,7 @@ in
|
|||
};
|
||||
|
||||
controlPath = mkOption {
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
default = "~/.ssh/master-%r@%h:%p";
|
||||
description = ''
|
||||
Specify path to the control socket used for connection sharing.
|
||||
|
|
Loading…
Reference in a new issue