1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

treewide: fix typos

This commit is contained in:
Mario Rodas 2022-12-03 04:20:00 +00:00 committed by Robert Helgesson
parent c3060ab937
commit b5c083300b
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
15 changed files with 38 additions and 39 deletions

View file

@ -303,7 +303,7 @@ can be sourced directly by POSIX.2-like shells such as {bash}[Bash] or
[NOTE] [NOTE]
==== ====
By default user packages will not be ignored in favor of By default user packages will not be ignored in favor of
`environment.systemPackages`, but they will be intalled to `environment.systemPackages`, but they will be installed to
`/etc/profiles/per-user/$USERNAME` if `/etc/profiles/per-user/$USERNAME` if
[source,nix] [source,nix]

View file

@ -7,7 +7,7 @@ Home Manager includes a `flake.nix` file for compatibility with {nixos-wiki-flak
The support is still experimental and may change in backwards incompatible ways. The support is still experimental and may change in backwards incompatible ways.
[[sec-flakes-prerequisties]] [[sec-flakes-prerequisties]]
=== Prerequisties === Prerequisites
* Install Nix 2.4 or later, or have it in `nix-shell`. * Install Nix 2.4 or later, or have it in `nix-shell`.

View file

@ -39,19 +39,19 @@ with lib;
default = null; default = null;
description = '' description = ''
This optional key is used as a hint to <literal>launchctl(1)</literal> that it should not submit this job to launchd when This optional key is used as a hint to <literal>launchctl(1)</literal> that it should not submit this job to launchd when
loading a job or jobs. The value of this key does NOT reflect the current state of the job on the run-ning running loading a job or jobs. The value of this key does NOT reflect the current state of the job on the running
ning system. If you wish to know whether a job is loaded in launchd, reading this key from a configura-tion configuration system. If you wish to know whether a job is loaded in launchd, reading this key from a configuration
tion file yourself is not a sufficient test. You should query launchd for the presence of the job using file yourself is not a sufficient test. You should query launchd for the presence of the job using
the <literal>launchctl(1)</literal> list subcommand or use the ServiceManagement framework's the <literal>launchctl(1)</literal> list subcommand or use the ServiceManagement framework's
<literal>SMJobCopyDictionary()</literal> method. <literal>SMJobCopyDictionary()</literal> method.
Note that as of Mac OS X v10.6, this key's value in a configuration file conveys a default value, which Note that as of Mac OS X v10.6, this key's value in a configuration file conveys a default value, which
is changed with the [-w] option of the <literal>launchctl(1)</literal> load and unload subcommands. These subcommands no is changed with the [-w] option of the <literal>launchctl(1)</literal> load and unload subcommands. These subcommands no
longer modify the configuration file, so the value displayed in the configuration file is not necessar-ily necessarily longer modify the configuration file, so the value displayed in the configuration file is not necessarily
ily the value that <literal>launchctl(1)</literal> will apply. See <literal>launchctl(1)</literal> for more information. the value that <literal>launchctl(1)</literal> will apply. See <literal>launchctl(1)</literal> for more information.
Please also be mindful that you should only use this key if the provided on-demand and KeepAlive crite-ria criteria Please also be mindful that you should only use this key if the provided on-demand and KeepAlive criteria
ria are insufficient to describe the conditions under which your job needs to run. The cost to have a are insufficient to describe the conditions under which your job needs to run. The cost to have a
job loaded in launchd is negligible, so there is no harm in loading a job which only runs once or very job loaded in launchd is negligible, so there is no harm in loading a job which only runs once or very
rarely. rarely.
''; '';
@ -147,8 +147,7 @@ with lib;
type = types.nullOr types.bool; type = types.nullOr types.bool;
default = null; default = null;
description = '' description = ''
This flag causes launchd to use the <literal>glob(3)</literal> mechanism to update the program arguments before invoca-tion. invocation. This flag causes launchd to use the <literal>glob(3)</literal> mechanism to update the program arguments before invocation.
tion.
''; '';
}; };
@ -236,12 +235,12 @@ with lib;
description = '' description = ''
This optional key is used to control whether your job is to be kept continuously running or to let This optional key is used to control whether your job is to be kept continuously running or to let
demand and conditions control the invocation. The default is false and therefore only demand will start demand and conditions control the invocation. The default is false and therefore only demand will start
the job. The value may be set to true to unconditionally keep the job alive. Alternatively, a dictio-nary dictionary the job. The value may be set to true to unconditionally keep the job alive. Alternatively, a dictionary
nary of conditions may be specified to selectively control whether launchd keeps a job alive or not. If of conditions may be specified to selectively control whether launchd keeps a job alive or not. If
multiple keys are provided, launchd ORs them, thus providing maximum flexibility to the job to refine multiple keys are provided, launchd ORs them, thus providing maximum flexibility to the job to refine
the logic and stall if necessary. If launchd finds no reason to restart the job, it falls back on the logic and stall if necessary. If launchd finds no reason to restart the job, it falls back on
demand based invocation. Jobs that exit quickly and frequently when configured to be kept alive will demand based invocation. Jobs that exit quickly and frequently when configured to be kept alive will
be throttled to converve system resources. be throttled to conserve system resources.
''; '';
}; };
@ -677,8 +676,8 @@ with lib;
XPC connections. See <literal>xpc_transaction_begin(3)</literal> for details. XPC connections. See <literal>xpc_transaction_begin(3)</literal> for details.
Interactive Interactive
Interactive jobs run with the same resource limitations as apps, that is to say, none. Interac-tive Interactive Interactive jobs run with the same resource limitations as apps, that is to say, none. Interactive
tive jobs are critical to maintaining a responsive user experience, and this key should only be jobs are critical to maintaining a responsive user experience, and this key should only be
used if an app's ability to be responsive depends on it, and cannot be made Adaptive. used if an app's ability to be responsive depends on it, and cannot be made Adaptive.
''; '';
}; };
@ -687,8 +686,8 @@ with lib;
type = types.nullOr types.bool; type = types.nullOr types.bool;
default = null; default = null;
description = '' description = ''
When a job dies, launchd kills any remaining processes with the same process group ID as the job. Set-ting Setting When a job dies, launchd kills any remaining processes with the same process group ID as the job. Setting
ting this key to true disables that behavior. this key to true disables that behavior.
''; '';
}; };
@ -753,9 +752,9 @@ with lib;
description = '' description = ''
This optional key is used to specify launch on demand sockets that can be used to let launchd know when This optional key is used to specify launch on demand sockets that can be used to let launchd know when
to run the job. The job must check-in to get a copy of the file descriptors using APIs outlined in to run the job. The job must check-in to get a copy of the file descriptors using APIs outlined in
launch(3). The keys of the top level Sockets dictionary can be anything. They are meant for the appli-cation application launch(3). The keys of the top level Sockets dictionary can be anything. They are meant for the application
cation developer to use to differentiate which descriptors correspond to which application level proto-cols protocols developer to use to differentiate which descriptors correspond to which application level protocols
cols (e.g. http vs. ftp vs. DNS...). At check-in time, the value of each Sockets dictionary key will (e.g. http vs. ftp vs. DNS...). At check-in time, the value of each Sockets dictionary key will
be an array of descriptors. Daemon/Agent writers should consider all descriptors of a given key to be be an array of descriptors. Daemon/Agent writers should consider all descriptors of a given key to be
to be effectively equivalent, even though each file descriptor likely represents a different networking to be effectively equivalent, even though each file descriptor likely represents a different networking
protocol which conforms to the criteria specified in the job configuration file. protocol which conforms to the criteria specified in the job configuration file.
@ -829,8 +828,8 @@ with lib;
default = null; default = null;
description = '' description = ''
This optional key is a variant of SockPathName. Instead of binding to a known path, a securely This optional key is a variant of SockPathName. Instead of binding to a known path, a securely
generated socket is created and the path is assigned to the environment variable that is inher-ited inherited generated socket is created and the path is assigned to the environment variable that is inherited
ited by all jobs spawned by launchd. by all jobs spawned by launchd.
''; '';
}; };

View file

@ -202,7 +202,7 @@ in {
<citerefentry> <citerefentry>
<refentrytitle>nix.conf</refentrytitle> <refentrytitle>nix.conf</refentrytitle>
<manvolnum>5</manvolnum> <manvolnum>5</manvolnum>
</citerefentry> for avalaible options. </citerefentry> for available options.
The value declared here will be translated directly to the key-value pairs Nix expects. The value declared here will be translated directly to the key-value pairs Nix expects.
</para> </para>
<para> <para>

View file

@ -305,7 +305,7 @@ in {
DPI=144 DPI=144
;; ;;
*) *)
echo "Unknown profle: $AUTORANDR_CURRENT_PROFILE" echo "Unknown profile: $AUTORANDR_CURRENT_PROFILE"
exit 1 exit 1
esac esac

View file

@ -64,7 +64,7 @@ let
id = mkOption { id = mkOption {
type = strMatching "[a-zA-Z]{32}"; type = strMatching "[a-zA-Z]{32}";
description = '' description = ''
The extension's ID from the Chome Web Store url or the unpacked crx. The extension's ID from the Chrome Web Store url or the unpacked crx.
''; '';
default = ""; default = "";
}; };

View file

@ -267,7 +267,7 @@ in {
difftastic = { difftastic = {
enable = mkEnableOption "" // { enable = mkEnableOption "" // {
description = '' description = ''
Enable the <command>difft</command> syntax highlighter. Enable the <command>difftastic</command> syntax highlighter.
See <link xlink:href="https://github.com/Wilfred/difftastic" />. See <link xlink:href="https://github.com/Wilfred/difftastic" />.
''; '';
}; };
@ -278,7 +278,7 @@ in {
example = "dark"; example = "dark";
description = '' description = ''
Determines whether difftastic should use the lighter or darker colors Determines whether difftastic should use the lighter or darker colors
for syntax highlithing. for syntax highlighting.
''; '';
}; };

View file

@ -61,7 +61,7 @@ in {
<citerefentry> <citerefentry>
<refentrytitle>fnott.ini</refentrytitle> <refentrytitle>fnott.ini</refentrytitle>
<manvolnum>5</manvolnum> <manvolnum>5</manvolnum>
</citerefentry> for a list of avaliable options and <link </citerefentry> for a list of available options and <link
xlink:href="https://codeberg.org/dnkl/fnott/src/branch/master/fnott.ini"/> xlink:href="https://codeberg.org/dnkl/fnott/src/branch/master/fnott.ini"/>
for an example configuration. for an example configuration.
''; '';

View file

@ -109,7 +109,7 @@ let
example = example =
"[ \${pkg.sway}/bin/swaymsg workspace 1, move workspace to eDP-1 ]"; "[ \${pkg.sway}/bin/swaymsg workspace 1, move workspace to eDP-1 ]";
description = '' description = ''
Commands executed after the profile is succesfully applied. Commands executed after the profile is successfully applied.
Note that if you provide multiple commands, they will be Note that if you provide multiple commands, they will be
executed asynchronously with no guaranteed ordering. executed asynchronously with no guaranteed ordering.
''; '';

View file

@ -129,8 +129,8 @@ in {
type = types.nullOr types.str; type = types.nullOr types.str;
description = '' description = ''
Set margin of each edge specified in pixels. Specify single value to Set margin of each edge specified in pixels. Specify single value to
apply margin on all sides. Two comma-seperated values will set apply margin on all sides. Two comma-separated values will set
vertical and horizontal edges seperately. Four comma-seperated will vertical and horizontal edges separately. Four comma-seperated will
give each edge a seperate value. give each edge a seperate value.
For example: 10,20,5 will set top margin to 10, left and right to 20 For example: 10,20,5 will set top margin to 10, left and right to 20
and bottom to five. and bottom to five.
@ -142,8 +142,8 @@ in {
type = types.nullOr types.str; type = types.nullOr types.str;
description = '' description = ''
Set padding of each edge specified in pixels. Specify single value to Set padding of each edge specified in pixels. Specify single value to
apply margin on all sides. Two comma-seperated values will set apply margin on all sides. Two comma-separated values will set
vertical and horizontal edges seperately. Four comma-seperated will vertical and horizontal edges separately. Four comma-seperated will
give each edge a seperate value. give each edge a seperate value.
For example: 10,20,5 will set top margin to 10, left and right to 20 For example: 10,20,5 will set top margin to 10, left and right to 20
and bottom to five. and bottom to five.

View file

@ -8,7 +8,7 @@ in {
meta.maintainers = [ maintainers.thibautmarty ]; meta.maintainers = [ maintainers.thibautmarty ];
options.services.poweralertd.enable = options.services.poweralertd.enable =
mkEnableOption "the Upower-powered power alerterd"; mkEnableOption "the Upower-powered power alertd";
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [ assertions = [

View file

@ -88,7 +88,7 @@ in {
{ event = "lock"; command = "lock"; } { event = "lock"; command = "lock"; }
] ]
''; '';
description = "Run command on occurence of a event."; description = "Run command on occurrence of a event.";
}; };
extraArgs = mkOption { extraArgs = mkOption {

View file

@ -193,7 +193,7 @@ let
# We have to make sure the wrapper does not start a dbus session # We have to make sure the wrapper does not start a dbus session
export DBUS_SESSION_BUS_ADDRESS=1 export DBUS_SESSION_BUS_ADDRESS=1
# A zero exit code means i3 succesfully validated the configuration # A zero exit code means i3 successfully validated the configuration
i3 -c ${configFile} -C -d all || { i3 -c ${configFile} -C -d all || {
echo "i3 configuration validation failed" echo "i3 configuration validation failed"
echo "For a verbose log of the failure, run 'i3 -c ${configFile} -C -d all'" echo "For a verbose log of the failure, run 'i3 -c ${configFile} -C -d all'"

View file

@ -33,7 +33,7 @@ in {
<refentrytitle>swaynag</refentrytitle> <refentrytitle>swaynag</refentrytitle>
<manvolnum>5</manvolnum> <manvolnum>5</manvolnum>
</citerefentry> </citerefentry>
for a list of avaliable options and an example configuration. for a list of available options and an example configuration.
Note, configurations declared under <literal>&lt;config&gt;</literal> Note, configurations declared under <literal>&lt;config&gt;</literal>
will override the default type values of swaynag. will override the default type values of swaynag.
''; '';

View file

@ -50,7 +50,7 @@ in {
AppleMetricUnits = mkNullableEnableOption "the metric system"; AppleMetricUnits = mkNullableEnableOption "the metric system";
NSAutomaticCapitalizationEnabled = NSAutomaticCapitalizationEnabled =
mkNullableEnableOption "automatic captilization"; mkNullableEnableOption "automatic capitalization";
NSAutomaticDashSubstitutionEnabled = NSAutomaticDashSubstitutionEnabled =
mkNullableEnableOption "smart dashes"; mkNullableEnableOption "smart dashes";