librewolf: hide bookmarks option

This commit is contained in:
chayleaf 2024-08-06 08:15:54 +07:00 committed by Robert Helgesson
parent 18462998b1
commit 0bd5e9c76c
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
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, ... }:
@ -435,6 +436,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;
})
];