mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
librewolf: hide bookmarks option
(cherry picked from commit 0bd5e9c76c
)
This commit is contained in:
parent
bef567c229
commit
f8831cc700
2 changed files with 5 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue