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:
parent
b4716b8081
commit
ad506dc1d6
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue