1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-04-18 10:16:54 +00:00

mkFirefoxModule: remove dependency between docs and config

This commit is contained in:
Robert Helgesson 2025-02-05 22:32:02 +01:00
parent b4716b8081
commit ad506dc1d6
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -305,6 +305,7 @@ in {
darwin.vendorPath or null
else
linux.vendorPath or null;
defaultText = literalExpression "platform specific vendor path";
example = ".mozilla";
description =
"Directory containing the native messaging hosts directory.";
@ -319,7 +320,7 @@ in {
description = "Directory containing the ${appName} configuration files.";
};
nativeMessagingHosts = optionalAttrs (cfg.vendorPath != null) (mkOption {
nativeMessagingHosts = mkOption {
inherit visible;
type = types.listOf types.package;
default = [ ];
@ -327,7 +328,7 @@ in {
Additional packages containing native messaging hosts that should be
made available to ${appName} extensions.
'';
});
};
finalPackage = mkOption {
inherit visible;