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:
Austin Horstman 2026-02-12 21:36:59 -06:00
parent 1e53254671
commit ae8003d8b6
4 changed files with 0 additions and 11 deletions

View file

@ -26,7 +26,6 @@ in
name = "Firefox";
wrappedPackageName = "firefox";
unwrappedPackageName = "firefox-unwrapped";
visible = true;
platforms.linux = {
configPath = ".mozilla/firefox";

View file

@ -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 = ''

View file

@ -18,7 +18,6 @@ in
name = "Floorp";
wrappedPackageName = "floorp-bin";
unwrappedPackageName = "floorp-bin-unwrapped";
visible = true;
platforms.linux = {
configPath = ".floorp";

View file

@ -34,7 +34,6 @@ in
description = "LibreWolf is a privacy enhanced Firefox fork.";
wrappedPackageName = "librewolf";
unwrappedPackageName = "librewolf-unwrapped";
visible = true;
platforms.linux = {
configPath = ".librewolf";