From f8831cc700030e11fc91da9ef6270593e6440edc Mon Sep 17 00:00:00 2001 From: chayleaf Date: Tue, 6 Aug 2024 08:15:54 +0700 Subject: [PATCH] librewolf: hide bookmarks option (cherry picked from commit 0bd5e9c76c9f2f486f4bec0524e16026547df414) --- modules/programs/firefox/mkFirefoxModule.nix | 4 +++- modules/programs/librewolf.nix | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/programs/firefox/mkFirefoxModule.nix b/modules/programs/firefox/mkFirefoxModule.nix index da7c96722..1bb2253f1 100644 --- a/modules/programs/firefox/mkFirefoxModule.nix +++ b/modules/programs/firefox/mkFirefoxModule.nix @@ -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 = { diff --git a/modules/programs/librewolf.nix b/modules/programs/librewolf.nix index 2508591bd..7363d9e53 100644 --- a/modules/programs/librewolf.nix +++ b/modules/programs/librewolf.nix @@ -37,6 +37,8 @@ in { vendorPath = "Library/Application Support/LibreWolf"; configPath = "Library/Application Support/LibreWolf"; }; + + enableBookmarks = false; }) ];