firefox defaultBookmarks option
This commit is contained in:
@ -12,6 +12,7 @@ in {
|
|||||||
wayland = mkBoolOpt false "Enable firefox wayland support";
|
wayland = mkBoolOpt false "Enable firefox wayland support";
|
||||||
vaapi = mkBoolOpt false "Enable firefox vaapi support";
|
vaapi = mkBoolOpt false "Enable firefox vaapi support";
|
||||||
disableTabBar = mkBoolOpt false "Disable the firefox tab bar (for TST)";
|
disableTabBar = mkBoolOpt false "Disable the firefox tab bar (for TST)";
|
||||||
|
defaultBookmarks = mkBoolOpt false "Preset standard bookmarks and folders";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@ -52,7 +53,7 @@ in {
|
|||||||
# https://github.com/mozilla/policy-templates#enterprisepoliciesenabled
|
# https://github.com/mozilla/policy-templates#enterprisepoliciesenabled
|
||||||
extraPolicies = {
|
extraPolicies = {
|
||||||
# TODO: Make library function to allow easy bookmark creation and add my default bookmarks/folders
|
# TODO: Make library function to allow easy bookmark creation and add my default bookmarks/folders
|
||||||
Bookmarks = { };
|
Bookmarks = (optionalAttrs cfg.defaultBookmarks { });
|
||||||
CaptivePortal = false;
|
CaptivePortal = false;
|
||||||
DisableFirefoxAccounts = true;
|
DisableFirefoxAccounts = true;
|
||||||
DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
|
Reference in New Issue
Block a user