librewolf: hide bookmarks option

This commit is contained in:
chayleaf 2024-08-06 08:15:54 +07:00
parent a0ba4158d9
commit 510b840975
No known key found for this signature in database
GPG key ID: 78171AD46227E68E
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{ modulePath, name, description ? null, wrappedPackageName ? null
, unwrappedPackageName ? null, platforms, visible ? false }:
, unwrappedPackageName ? null, platforms, visible ? false
, enableBookmarks ? true }:
{ config, lib, pkgs, ... }:
@ -426,6 +427,7 @@ in {
};
bookmarks = mkOption {
internal = !enableBookmarks;
type = let
bookmarkSubmodule = types.submodule ({ config, name, ... }: {
options = {

View file

@ -37,6 +37,8 @@ in {
vendorPath = "Library/Application Support/LibreWolf";
configPath = "Library/Application Support/LibreWolf";
};
enableBookmarks = false;
})
];