nixos/programs/sessiond: update option visibility and descriptions

This commit is contained in:
Gabriel Arazas 2024-07-30 18:29:05 +08:00
parent 9ef3e308f9
commit a42d8234dd
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,7 @@ let
`restartTriggers`.
:::
'';
visible = "shallow";
default = null;
};
in

View File

@ -159,6 +159,8 @@ in
`reloadTriggers` and `restartTriggers`.
:::
'';
visible = "shallow";
default = { };
defaultText = ''
{
wants = ... # All of the required components as a target unit.
@ -178,6 +180,8 @@ in
serviceConfig
unitConfig
];
default = { };
visible = "shallow";
description = ''
systemd service configuration to be generated for the sessiond session
itself.
@ -200,9 +204,10 @@ in
extraArgs = lib.mkOption {
type = with lib.types; listOf str;
description = ''
A list of arguments from {program}`sessiond` to be added for the session
A list of arguments from {command}`sessiond` to be added for the session
script.
'';
default = [ ];
example = lib.literalExpression ''
[
"--hooksd=''${./config/sessiond/hooks.d}"