mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
librewolf: hide bookmarks option
This commit is contained in:
parent
18462998b1
commit
0bd5e9c76c
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