mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
treewide: fix typos
This commit is contained in:
parent
785f9d198b
commit
c1ab1c5e7c
11 changed files with 16 additions and 16 deletions
|
@ -43,7 +43,7 @@ in
|
|||
};
|
||||
OnFailureMail = mkOption {
|
||||
type = types.nullOr (types.str);
|
||||
description = lib.mdDoc "Mail adress where to send the error report";
|
||||
description = lib.mdDoc "Mail address where to send the error report";
|
||||
default = null;
|
||||
example = "alarm@mail.com";
|
||||
};
|
||||
|
@ -169,7 +169,7 @@ in
|
|||
};
|
||||
borgbackup_last_execution = {
|
||||
condition = ''systemd_unit_state{state="failed", name="borgbackup-job-hetzner.timer"} >= 1'';
|
||||
description = "{{$labels.instance}}: last backup was not successfull please check.";
|
||||
description = "{{$labels.instance}}: last backup was not successful please check.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
header = false;
|
||||
footer = false;
|
||||
connectivityCheck = true;
|
||||
colums = "auto";
|
||||
columns = "auto";
|
||||
services = config.lib.webapps.homerServices;
|
||||
};
|
||||
in
|
||||
|
|
|
@ -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" ];
|
||||
|
|
|
@ -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; };
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ in
|
|||
description = "Host SystemD service crashed (instance {{ $labels.instance }})";
|
||||
};
|
||||
# time
|
||||
clock_not_syncronising = {
|
||||
clock_not_synchronising = {
|
||||
condition = ''min_over_time(node_timex_sync_status[1m]) == 0 and node_timex_maxerror_seconds >= 16'';
|
||||
description = ''Clock not synchronising.\n VALUE = {{ $value }}'';
|
||||
};
|
||||
|
|
|
@ -31,7 +31,7 @@ in
|
|||
my.services.loki.rules = {
|
||||
sshd_closed = {
|
||||
condition = ''count_over_time({unit="sshd.service"} |~ "Connection closed by authenticating user" [15m]) > 25'';
|
||||
description = "More then 25 users have tried loggin in the last 15 min without success";
|
||||
description = "More then 25 users have tried logging in the last 15 min without success";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue