Skip to content

Commit

Permalink
librewolf: hide bookmarks option
Browse files Browse the repository at this point in the history
  • Loading branch information
chayleaf committed Oct 14, 2024
1 parent 1a5b73e commit 1b7da02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/programs/firefox/mkFirefoxModule.nix
Original file line number Diff line number Diff line change
@@ -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, ... }:

Expand Down Expand Up @@ -426,6 +427,7 @@ in {
};

bookmarks = mkOption {
internal = !enableBookmarks;
type = let
bookmarkSubmodule = types.submodule ({ config, name, ... }: {
options = {
Expand Down
2 changes: 2 additions & 0 deletions modules/programs/librewolf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ in {
vendorPath = "Library/Application Support/LibreWolf";
configPath = "Library/Application Support/LibreWolf";
};

enableBookmarks = false;
})
];

Expand Down

0 comments on commit 1b7da02

Please sign in to comment.