diff options
Diffstat (limited to 'modules/tools/librewolf')
| -rw-r--r-- | modules/tools/librewolf/default.nix | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/modules/tools/librewolf/default.nix b/modules/tools/librewolf/default.nix index aa10982..c093337 100644 --- a/modules/tools/librewolf/default.nix +++ b/modules/tools/librewolf/default.nix @@ -1,57 +1,57 @@ { config, lib, pkgs, ... }: { - options.tools.librewolf = { - enable = lib.mkEnableOption "Enables librewolf."; - }; - - config = lib.mkIf config.tools.librewolf.enable { - programs.librewolf = { - enable = true; - package = pkgs.librewolf; - profiles."arpit" = { - isDefault = true; - settings = { - "extensions.autoDisableScopes" = 0; - # Use default dark theme until Black gets installed - "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; - "sidebar.verticalTabs" = true; - "sidebar.visibility" = "always-show"; - "sidebar.verticalTabs.dragToPinPromo.dismissed" = true; - "layout.css.devPixelsPerPx" = 1.1; - # Dark - "layout.css.prefers-color-scheme.content-override" = 0; - "browser.toolbars.bookmarks.visibility" = "newtab"; - "browser.startup.page" = 2; - "sidebar.expandOnHover" = false; - "sidebar.animation.enabled" = false; - "privacy.clearOnShutdown_v2.cookiesAndStorage" = false; - "privacy.resistFingerprinting" = false; - "dom.webnotifications.enabled" = false; - }; - }; - policies = { - ExtensionSettings = { - "uBlock0@raymondhill.net" = { - install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; - installation_mode = "force_installed"; - private_browsing = true; - }; - "{9b84b6b4-07c4-4b4b-ba21-394d86f6e9ee}" = { - install_url = "https://addons.mozilla.org/firefox/downloads/latest/black21/latest.xpi"; - installation_mode = "force_installed"; - }; - "{446900e4-71c2-419f-a6a7-df9c091e268b}" = { - default_area = "menupanel"; - install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi"; - installation_mode = "force_installed"; - }; - "addon@darkreader.org" = { - install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi"; - installation_mode = "force_installed"; - }; - }; - }; - }; - }; + options.tools.librewolf = { + enable = lib.mkEnableOption "Enables librewolf."; + }; + + config = lib.mkIf config.tools.librewolf.enable { + programs.librewolf = { + enable = true; + package = pkgs.librewolf; + profiles."arpit" = { + isDefault = true; + settings = { + "extensions.autoDisableScopes" = 0; + # Use default dark theme until Black gets installed + "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; + "sidebar.verticalTabs" = true; + "sidebar.visibility" = "always-show"; + "sidebar.verticalTabs.dragToPinPromo.dismissed" = true; + "layout.css.devPixelsPerPx" = 1.1; + # Dark + "layout.css.prefers-color-scheme.content-override" = 0; + "browser.toolbars.bookmarks.visibility" = "newtab"; + "browser.startup.page" = 2; + "sidebar.expandOnHover" = false; + "sidebar.animation.enabled" = false; + "privacy.clearOnShutdown_v2.cookiesAndStorage" = false; + "privacy.resistFingerprinting" = false; + "dom.webnotifications.enabled" = false; + }; + }; + policies = { + ExtensionSettings = { + "uBlock0@raymondhill.net" = { + install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; + installation_mode = "force_installed"; + private_browsing = true; + }; + "{9b84b6b4-07c4-4b4b-ba21-394d86f6e9ee}" = { + install_url = "https://addons.mozilla.org/firefox/downloads/latest/black21/latest.xpi"; + installation_mode = "force_installed"; + }; + "{446900e4-71c2-419f-a6a7-df9c091e268b}" = { + default_area = "menupanel"; + install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi"; + installation_mode = "force_installed"; + }; + "addon@darkreader.org" = { + install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi"; + installation_mode = "force_installed"; + }; + }; + }; + }; + }; } |
