diff options
Diffstat (limited to 'modules/launchd')
| -rw-r--r-- | modules/launchd/default.nix | 6 | ||||
| -rw-r--r-- | modules/launchd/launchd.nix | 28 |
2 files changed, 17 insertions, 17 deletions
diff --git a/modules/launchd/default.nix b/modules/launchd/default.nix index f82df2a..ed85509 100644 --- a/modules/launchd/default.nix +++ b/modules/launchd/default.nix @@ -137,7 +137,7 @@ in launchd.agents = mkOption { default = {}; type = types.attrsOf (types.submodule serviceOptions); - description = '' + description = lib.mdDoc '' Definition of per-user launchd agents. When a user logs in, a per-user launchd is started. @@ -153,7 +153,7 @@ in launchd.daemons = mkOption { default = {}; type = types.attrsOf (types.submodule serviceOptions); - description = '' + description = lib.mdDoc '' Definition of launchd daemons. After the system is booted and the kernel is running, launchd is run to finish the system initialization. @@ -169,7 +169,7 @@ in launchd.user.agents = mkOption { default = {}; type = types.attrsOf (types.submodule serviceOptions); - description = '' + description = lib.mdDoc '' Definition of per-user launchd agents. When a user logs in, a per-user launchd is started. diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix index 727db95..61a78d9 100644 --- a/modules/launchd/launchd.nix +++ b/modules/launchd/launchd.nix @@ -633,27 +633,27 @@ with lib; type = types.nullOr (types.enum [ "Background" "Standard" "Adaptive" "Interactive" ]); default = null; example = "Background"; - description = '' + description = lib.mdDoc '' This optional key describes, at a high level, the intended purpose of the job. The system will apply resource limits based on what kind of job it is. If left unspecified, the system will apply light resource limits to the job, throttling its CPU usage and I/O bandwidth. The following are valid values: - Background - Background jobs are generally processes that do work that was not directly requested by the user. - The resource limits applied to Background jobs are intended to prevent them from disrupting the - user experience. + Background + : Background jobs are generally processes that do work that was not directly requested by the user. + The resource limits applied to Background jobs are intended to prevent them from disrupting the + user experience. - Standard - Standard jobs are equivalent to no ProcessType being set. + Standard + : Standard jobs are equivalent to no ProcessType being set. - Adaptive - Adaptive jobs move between the Background and Interactive classifications based on activity over - XPC connections. See <literal>xpc_transaction_begin(3)</literal> for details. + Adaptive + : Adaptive jobs move between the Background and Interactive classifications based on activity over + XPC connections. See `xpc_transaction_begin(3)` for details. - Interactive - Interactive jobs run with the same resource limitations as apps, that is to say, none. Interactive - 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. + Interactive + : Interactive jobs run with the same resource limitations as apps, that is to say, none. Interactive + 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. ''; }; |
