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