mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
nixos/sshd: fix example rendering
This commit is contained in:
parent
b1434f14da
commit
9999996fd6
1 changed files with 6 additions and 4 deletions
|
@ -279,10 +279,12 @@ in
|
||||||
settings = mkOption {
|
settings = mkOption {
|
||||||
description = lib.mdDoc "Configuration for `sshd_config(5)`.";
|
description = lib.mdDoc "Configuration for `sshd_config(5)`.";
|
||||||
default = { };
|
default = { };
|
||||||
example = literalExpression ''{
|
example = literalExpression ''
|
||||||
UseDns = true;
|
{
|
||||||
PasswordAuthentication = false;
|
UseDns = true;
|
||||||
}'';
|
PasswordAuthentication = false;
|
||||||
|
}
|
||||||
|
'';
|
||||||
type = types.submodule ({name, ...}: {
|
type = types.submodule ({name, ...}: {
|
||||||
freeformType = settingsFormat.type;
|
freeformType = settingsFormat.type;
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue