diff --git a/future.md b/future.md index 54a8eb9..c15572f 100644 --- a/future.md +++ b/future.md @@ -1,3 +1,3 @@ -# things to consider when availble in the next release: +# things to consider when available in the next release: - systemd-repart diff --git a/modules/hardware/drive-monitor/default.nix b/modules/hardware/drive-monitor/default.nix index 6a69f49..e245aa7 100644 --- a/modules/hardware/drive-monitor/default.nix +++ b/modules/hardware/drive-monitor/default.nix @@ -8,7 +8,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"; }; diff --git a/modules/services/backup/default.nix b/modules/services/backup/default.nix index e36cf22..3deccf5 100644 --- a/modules/services/backup/default.nix +++ b/modules/services/backup/default.nix @@ -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."; }; }; }; diff --git a/modules/services/homer/default.nix b/modules/services/homer/default.nix index 1ddfbbf..5661cb6 100644 --- a/modules/services/homer/default.nix +++ b/modules/services/homer/default.nix @@ -9,7 +9,7 @@ let header = false; footer = false; connectivityCheck = true; - colums = "auto"; + columns = "auto"; services = config.lib.webapps.homerServices; }; in diff --git a/modules/services/nginx/default.nix b/modules/services/nginx/default.nix index 1ae902a..7130c43 100644 --- a/modules/services/nginx/default.nix +++ b/modules/services/nginx/default.nix @@ -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" ]; diff --git a/modules/services/nginx/sso/default.nix b/modules/services/nginx/sso/default.nix index 13292ec..8c2526c 100644 --- a/modules/services/nginx/sso/default.nix +++ b/modules/services/nginx/sso/default.nix @@ -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; }; diff --git a/modules/services/node-exporter/default.nix b/modules/services/node-exporter/default.nix index 02be093..1d51105 100644 --- a/modules/services/node-exporter/default.nix +++ b/modules/services/node-exporter/default.nix @@ -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 }}''; }; diff --git a/modules/services/ssh-server/default.nix b/modules/services/ssh-server/default.nix index 36de274..51be2b6 100644 --- a/modules/services/ssh-server/default.nix +++ b/modules/services/ssh-server/default.nix @@ -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"; }; }; }; diff --git a/pkgs/grafana-dashboards/loki.json b/pkgs/grafana-dashboards/loki.json index c816d0b..961c15a 100644 --- a/pkgs/grafana-dashboards/loki.json +++ b/pkgs/grafana-dashboards/loki.json @@ -2410,7 +2410,7 @@ }, "expr": "rate(loki_distributor_ingester_appends_total[5m])", "interval": "", - "legendFormat": "successed", + "legendFormat": "succeeded", "refId": "A" }, { @@ -3555,7 +3555,7 @@ ], "thresholds": [], "timeRegions": [], - "title": "Strams Stats", + "title": "Streams Stats", "tooltip": { "shared": true, "sort": 0, diff --git a/profiles/default.nix b/profiles/default.nix index 13e25c1..a554935 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -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 = [ diff --git a/profiles/nautilus/default.nix b/profiles/nautilus/default.nix index 5c85613..2430c0e 100644 --- a/profiles/nautilus/default.nix +++ b/profiles/nautilus/default.nix @@ -21,7 +21,7 @@ in services.gnome.glib-networking.enable = true; # network-mount - # default-programms + # default-programs xdg.mime.enable = true; xdg.icons.enable = true;