Skip to content

Commit

Permalink
treewide: fix typos (nix-community#3618)
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam authored and 15cm committed Feb 9, 2023
1 parent dbbd475 commit 1f51530
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/nix-flakes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Home Manager includes a `flake.nix` file for compatibility with {nixos-wiki-flakes}[Nix Flakes].
The support is still experimental and may change in backwards incompatible ways.

[[sec-flakes-prerequisties]]
[[sec-flakes-prerequisites]]
=== Prerequisites

* Install Nix 2.4 or later, or have it in `nix-shell`.
Expand Down
2 changes: 1 addition & 1 deletion modules/config/home-cursor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ in {
description = ''
Cursor configuration. Set to <literal>null</literal> to disable.
</para><para>
Top-level options declared under this submodule are backend indepedent
Top-level options declared under this submodule are backend independent
options. Options declared under namespaces such as <literal>x11</literal>
are backend specific options. By default, only backend independent cursor
configurations are generated. If you need configurations for specific
Expand Down
2 changes: 1 addition & 1 deletion modules/programs/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ in {
# Aliases
${aliasesStr}
# Interactive shell intialisation
# Interactive shell initialisation
${cfg.interactiveShellInit}
end
Expand Down
2 changes: 1 addition & 1 deletion modules/programs/kodi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ let
attrsetToXml = attrs: name: stylesheet:
pkgs.runCommand name {
# Package splicing for libxslt does not work correctly leading to errors
# when cross-compiling. Use the version from buildPackages explicitely to
# when cross-compiling. Use the version from buildPackages explicitly to
# fix this.
nativeBuildInputs = [ pkgs.buildPackages.libxslt.bin ];
xml = builtins.toXML attrs;
Expand Down
2 changes: 1 addition & 1 deletion modules/programs/mbsync.nix
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ let
flatten (optionals (group.channels != { }) ([ "Group ${group.name}" ]
++ (genChannelStrings group.name group.channels)));
# Given set of groups, generates list of strings, where each string is one
# of the groups and its consituent channels.
# of the groups and its constituent channels.
genGroupsStrings = mapAttrsToList (name: info:
concatStringsSep "\n" (genGroupChannelString groups.${name})) groups;
# Join all non-empty groups.
Expand Down
2 changes: 1 addition & 1 deletion modules/programs/mujmap.nix
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ let
default = null;
example = "https://jmap.example.com/.well-known/jmap";
description = ''
Sesion URL to connect to.
Session URL to connect to.
</para><para>
Mutually exclusive with
<xref linkend="opt-accounts.email.accounts._name_.mujmap.settings.fqdn"/>.
Expand Down
8 changes: 4 additions & 4 deletions modules/services/mako.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ in {
description = ''
Set margin of each edge specified in pixels. Specify single value to
apply margin on all sides. Two comma-separated values will set
vertical and horizontal edges separately. Four comma-seperated will
give each edge a seperate value.
vertical and horizontal edges separately. Four comma-separated will
give each edge a separate value.
For example: 10,20,5 will set top margin to 10, left and right to 20
and bottom to five.
'';
Expand All @@ -143,8 +143,8 @@ in {
description = ''
Set padding of each edge specified in pixels. Specify single value to
apply margin on all sides. Two comma-separated values will set
vertical and horizontal edges separately. Four comma-seperated will
give each edge a seperate value.
vertical and horizontal edges separately. Four comma-separated will
give each edge a separate value.
For example: 10,20,5 will set top margin to 10, left and right to 20
and bottom to five.
'';
Expand Down
2 changes: 1 addition & 1 deletion tests/modules/misc/debug/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
'NIX_DEBUG_INFO_DIRS=.*/lib/debug'
# We need to override NIX_DEBUG_INFO_DIRS here as $HOME evalutes to the home
# We need to override NIX_DEBUG_INFO_DIRS here as $HOME evaluates to the home
# of the user who executes this testcase :/
{ echo quit | PATH="$TESTED/home-path/bin''${PATH:+:}$PATH" NIX_DEBUG_INFO_DIRS=$TESTED/home-path/lib/debug \
gdb curl 2>&1 | \
Expand Down
6 changes: 3 additions & 3 deletions tests/modules/programs/aerc/extraAccounts.expected
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ source = maildir:///home/hm-user/Maildir/i_maildir-mbsync
from = Foo Bar <[email protected]>
source = maildir:///home/hm-user/Maildir/j_maildir-offlineimap

[l_smpt-auth-none]
[l_smtp-auth-none]
from = Foo Bar <[email protected]>
outgoing = smtps+none://[email protected]:42

[m_smpt-auth-plain]
[m_smtp-auth-plain]
from = Foo Bar <[email protected]>
outgoing = smtps+plain://[email protected]:42

[n_smpt-auth-login]
[n_smtp-auth-login]
from = Foo Bar <[email protected]>
outgoing = smtps+login://[email protected]:42

Expand Down
6 changes: 3 additions & 3 deletions tests/modules/programs/aerc/settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ with lib;
i_maildir-mbsync = basics // { mbsync.enable = true; };
j_maildir-offlineimap = basics // { offlineimap.enable = true; };
k_notEnabled = basics // { aerc.enable = false; };
l_smpt-auth-none = basics // {
l_smtp-auth-none = basics // {
smtp = {
host = "smtp.host.invalid";
port = 42;
Expand All @@ -203,7 +203,7 @@ with lib;
smtpAuth = "none";
};
};
m_smpt-auth-plain = basics // {
m_smtp-auth-plain = basics // {
smtp = {
host = "smtp.host.invalid";
port = 42;
Expand All @@ -213,7 +213,7 @@ with lib;
smtpAuth = "plain";
};
};
n_smpt-auth-login = basics // {
n_smtp-auth-login = basics // {
smtp = {
host = "smtp.host.invalid";
port = 42;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ with lib;
# programs.mbsync.groups and
# accounts.email.accounts.<name>.mbsync.groups should NOT be used at the
# same time.
# If they are, then the new version will take precendence.
# If they are, then the new version will take precedence.
groups.inboxes = {
"[email protected]" = [ "Inbox1" "Inbox2" ];
hm-account = [ "Inbox" ];
Expand Down
2 changes: 1 addition & 1 deletion tests/modules/programs/mbsync/mbsync.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ with lib;
# programs.mbsync.groups and
# accounts.email.accounts.<name>.mbsync.groups should NOT be used at the
# same time.
# If they are, then the new version will take precendence.
# If they are, then the new version will take precedence.
groups.inboxes = {
"[email protected]" = [ "Inbox1" "Inbox2" ];
hm-account = [ "Inbox" ];
Expand Down

0 comments on commit 1f51530

Please sign in to comment.