misc: add librewolf native messaging hosts (#7127)
This commit is contained in:
parent
8a4b382627
commit
4e9efaa68b
5 changed files with 88 additions and 35 deletions
|
|
@ -34,6 +34,7 @@ in
|
|||
description = "LibreWolf is a privacy enhanced Firefox fork.";
|
||||
wrappedPackageName = "librewolf";
|
||||
unwrappedPackageName = "librewolf-unwrapped";
|
||||
visible = true;
|
||||
|
||||
platforms.linux = {
|
||||
configPath = ".librewolf";
|
||||
|
|
@ -68,5 +69,10 @@ in
|
|||
home.file.".librewolf/librewolf.overrides.cfg" = lib.mkIf (cfg.settings != { }) {
|
||||
text = mkOverridesFile cfg.settings;
|
||||
};
|
||||
|
||||
mozilla.librewolfNativeMessagingHosts =
|
||||
cfg.nativeMessagingHosts
|
||||
# package configured native messaging hosts (entire browser actually)
|
||||
++ (lib.optional (cfg.finalPackage != null) cfg.finalPackage);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue