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

@ -1,3 +1,3 @@
# things to consider when availble in the next release: # things to consider when available in the next release:
- systemd-repart - systemd-repart

View file

@ -8,7 +8,7 @@ in
OnFailureMail = mkOption { OnFailureMail = mkOption {
type = types.nullOr (types.str); 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; default = null;
example = "alarm@mail.com"; example = "alarm@mail.com";
}; };

View file

@ -43,7 +43,7 @@ in
}; };
OnFailureMail = mkOption { OnFailureMail = mkOption {
type = types.nullOr (types.str); 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; default = null;
example = "alarm@mail.com"; example = "alarm@mail.com";
}; };
@ -169,7 +169,7 @@ in
}; };
borgbackup_last_execution = { borgbackup_last_execution = {
condition = ''systemd_unit_state{state="failed", name="borgbackup-job-hetzner.timer"} >= 1''; 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.";
}; };
}; };
}; };

View file

@ -9,7 +9,7 @@ let
header = false; header = false;
footer = false; footer = false;
connectivityCheck = true; connectivityCheck = true;
colums = "auto"; columns = "auto";
services = config.lib.webapps.homerServices; services = config.lib.webapps.homerServices;
}; };
in in

View file

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

View file

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

View file

@ -168,7 +168,7 @@ in
description = "Host SystemD service crashed (instance {{ $labels.instance }})"; description = "Host SystemD service crashed (instance {{ $labels.instance }})";
}; };
# time # time
clock_not_syncronising = { clock_not_synchronising = {
condition = ''min_over_time(node_timex_sync_status[1m]) == 0 and node_timex_maxerror_seconds >= 16''; condition = ''min_over_time(node_timex_sync_status[1m]) == 0 and node_timex_maxerror_seconds >= 16'';
description = ''Clock not synchronising.\n VALUE = {{ $value }}''; description = ''Clock not synchronising.\n VALUE = {{ $value }}'';
}; };

View file

@ -31,7 +31,7 @@ in
my.services.loki.rules = { my.services.loki.rules = {
sshd_closed = { sshd_closed = {
condition = ''count_over_time({unit="sshd.service"} |~ "Connection closed by authenticating user" [15m]) > 25''; 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";
}; };
}; };
}; };

View file

@ -2410,7 +2410,7 @@
}, },
"expr": "rate(loki_distributor_ingester_appends_total[5m])", "expr": "rate(loki_distributor_ingester_appends_total[5m])",
"interval": "", "interval": "",
"legendFormat": "successed", "legendFormat": "succeeded",
"refId": "A" "refId": "A"
}, },
{ {
@ -3555,7 +3555,7 @@
], ],
"thresholds": [], "thresholds": [],
"timeRegions": [], "timeRegions": [],
"title": "Strams Stats", "title": "Streams Stats",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 0,

View file

@ -1,4 +1,4 @@
# Configuration that spans accross system and home, or are collections of modules # Configuration that spans across system and home, or are collections of modules
{ ... }: { ... }:
{ {
imports = [ imports = [

View file

@ -21,7 +21,7 @@ in
services.gnome.glib-networking.enable = true; # network-mount services.gnome.glib-networking.enable = true; # network-mount
# default-programms # default-programs
xdg.mime.enable = true; xdg.mime.enable = true;
xdg.icons.enable = true; xdg.icons.enable = true;