1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

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 { modulePath, name, description ? null, wrappedPackageName ? null
, unwrappedPackageName ? null, platforms, visible ? false }: , unwrappedPackageName ? null, platforms, visible ? false
, enableBookmarks ? true }:
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
@ -435,6 +436,7 @@ in {
}; };
bookmarks = mkOption { bookmarks = mkOption {
internal = !enableBookmarks;
type = let type = let
bookmarkSubmodule = types.submodule ({ config, name, ... }: { bookmarkSubmodule = types.submodule ({ config, name, ... }: {
options = { options = {

View file

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