removed not needed lib.literalExpression from module doc

main
Felix Stupp 2 months ago
parent b218bce3b5
commit d19cfc9369
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -21,9 +21,7 @@
This is used by other option{x-banananetwork} modules. This is used by other option{x-banananetwork} modules.
''; '';
type = with lib.types; nullOr str; type = with lib.types; nullOr str;
example = lib.literalExpression '' example = "ssh-ed25519 ";
ssh-ed25519
'';
}; };
sshPublicKeys = lib.mkOption { sshPublicKeys = lib.mkOption {
@ -33,9 +31,7 @@
This is used by other option{x-banananetwork} modules. This is used by other option{x-banananetwork} modules.
''; '';
type = with lib.types; listOf str; type = with lib.types; listOf str;
example = lib.literalExpression '' example = [ "ssh-ed25519 ..." ];
[ "ssh-ed25519 ..." ]
'';
}; };
userName = lib.mkOption { userName = lib.mkOption {
@ -43,7 +39,7 @@
my username for most/all uses my username for most/all uses
''; '';
type = lib.types.str; type = lib.types.str;
example = lib.literalExpression "zocker"; example = "zocker";
}; };
}; };

@ -33,7 +33,7 @@ in
''; '';
type = with lib.types; nullOr str; type = with lib.types; nullOr str;
default = null; default = null;
example = lib.literalExpression "rsa"; example = "rsa";
}; };
}; };

Loading…
Cancel
Save