mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-02-07 06:19:02 +00:00
wrapper-manager-fds/modules: update module documentation
This commit is contained in:
parent
296e8ea59b
commit
5180f42a48
@ -72,8 +72,7 @@ let
|
||||
arg0 = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = ''
|
||||
The first argument of the wrapper script. This option is used when the
|
||||
{option}`build.variant` is `executable`.
|
||||
The first argument of the wrapper script.
|
||||
'';
|
||||
example = lib.literalExpression "lib.getExe' pkgs.neofetch \"neofetch\"";
|
||||
};
|
||||
@ -93,8 +92,12 @@ let
|
||||
'';
|
||||
default = { };
|
||||
example = {
|
||||
"FOO_TYPE" = "custom";
|
||||
"FOO_LOG_STYLE" = "systemd";
|
||||
"FOO_TYPE".value = "custom";
|
||||
"FOO_LOG_STYLE" = {
|
||||
action = "set-default";
|
||||
value = "systemd";
|
||||
};
|
||||
"USELESS_VAR".action = "unset";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -7,6 +7,7 @@ let
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = if isGlobal then true else cfg.enable;
|
||||
example = false;
|
||||
description = if isGlobal then ''
|
||||
Whether to enable explicit glibc locale support. This is recommended
|
||||
for Nix-built applications.
|
||||
|
Loading…
Reference in New Issue
Block a user