mkFirefoxModule: remove visible option
Just default everything to show options to remove confusion / chance of disabling documentation. We already set visible = true so it wasn't even being used really. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
1e53254671
commit
ae8003d8b6
4 changed files with 0 additions and 11 deletions
|
|
@ -5,7 +5,6 @@
|
|||
wrappedPackageName ? null,
|
||||
unwrappedPackageName ? null,
|
||||
platforms,
|
||||
visible ? false,
|
||||
enableBookmarks ? true,
|
||||
}:
|
||||
{
|
||||
|
|
@ -209,12 +208,10 @@ in
|
|||
example = true;
|
||||
description = ''
|
||||
Whether to enable ${appName}.${optionalString (description != null) " ${description}"}
|
||||
${optionalString (!visible) "See `${moduleName}` for more configuration options."}
|
||||
'';
|
||||
};
|
||||
|
||||
package = mkOption {
|
||||
inherit visible;
|
||||
type = with types; nullOr package;
|
||||
default = pkgs.${defaultPackageName};
|
||||
defaultText = literalExpression "pkgs.${packageName}";
|
||||
|
|
@ -317,7 +314,6 @@ in
|
|||
};
|
||||
|
||||
nativeMessagingHosts = mkOption {
|
||||
inherit visible;
|
||||
type = types.listOf types.package;
|
||||
default = [ ];
|
||||
description = ''
|
||||
|
|
@ -327,14 +323,12 @@ in
|
|||
};
|
||||
|
||||
finalPackage = mkOption {
|
||||
inherit visible;
|
||||
type = with types; nullOr package;
|
||||
readOnly = true;
|
||||
description = "Resulting ${appName} package.";
|
||||
};
|
||||
|
||||
policies = lib.optionalAttrs (wrappedPackageName != null) (mkOption {
|
||||
inherit visible;
|
||||
type = types.attrsOf jsonFormat.type;
|
||||
default = { };
|
||||
description = "[See list of policies](https://mozilla.github.io/policy-templates/).";
|
||||
|
|
@ -360,7 +354,6 @@ in
|
|||
};
|
||||
|
||||
profiles = mkOption {
|
||||
inherit visible;
|
||||
type = types.attrsOf (
|
||||
types.submodule (
|
||||
{ config, name, ... }:
|
||||
|
|
@ -913,7 +906,6 @@ in
|
|||
};
|
||||
|
||||
enableGnomeExtensions = mkOption {
|
||||
inherit visible;
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue