treewide: fix typos

This commit is contained in:
Felix Buehler 2023-06-22 20:54:16 +02:00
parent 785f9d198b
commit c1ab1c5e7c
11 changed files with 16 additions and 16 deletions

View file

@ -35,7 +35,7 @@ let
};
extraConfig = mkOption {
type = types.attrs; # FIXME: forward type of virtualHosts
example = litteralExample ''
example = literalExpression ''
{
locations."/socket" = {
proxyPass = "http://127.0.0.1:8096/";
@ -69,7 +69,7 @@ in
virtualHosts = mkOption {
type = types.listOf virtualHostOption;
default = [ ];
example = litteralExample ''
example = literalExpression ''
[
{
subdomain = "gitea";
@ -130,7 +130,7 @@ in
};
};
});
example = litteralExample ''
example = literalExpression ''
{
alice = {
passwordHashFile = "/var/lib/nginx-sso/alice/password-hash.txt";
@ -142,7 +142,7 @@ in
};
groups = mkOption {
type = with types; attrsOf (listOf str);
example = litteralExample ''
example = literalExpression ''
{
root = [ "alice" ];
users = [ "alice" "bob" ];

View file

@ -24,7 +24,7 @@ in
configuration = mkOption {
type = types.attrsOf types.unspecified;
default = { };
example = literalExample ''
example = literalExpression ''
{
listen = { addr = "127.0.0.1"; port = 8080; };