diff options
author | Alan Pearce | 2024-06-21 18:58:35 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-21 18:58:35 +0200 |
commit | 9cb844bacd7aa1191bbdccc4332f94aaa36bd648 (patch) | |
tree | 9a58a9153ee878d8e6f4a1c8d322a522372fcba1 /user/settings/development | |
parent | 116b5525d76168073e657cf3fcf9ec3885dde229 (diff) | |
download | nixfiles-9cb844bacd7aa1191bbdccc4332f94aaa36bd648.tar.lz nixfiles-9cb844bacd7aa1191bbdccc4332f94aaa36bd648.tar.zst nixfiles-9cb844bacd7aa1191bbdccc4332f94aaa36bd648.zip |
dev/web: install firefox-devedition with minimal profile
Diffstat (limited to 'user/settings/development')
-rw-r--r-- | user/settings/development/web.nix | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/user/settings/development/web.nix b/user/settings/development/web.nix index e5c5ebb7..92d80780 100644 --- a/user/settings/development/web.nix +++ b/user/settings/development/web.nix @@ -34,6 +34,67 @@ de-de ]; }; + programs.firefox = { + enable = true; + package = pkgs.firefox-devedition; + profiles.dev-edition-default = { + search.default = "DuckDuckGo"; + extensions = with pkgs.nur.repos.rycee.firefox-addons; [ + a11ycss + disable-javascript + laboratory-by-mozilla + side-view + ublock-origin + ]; + settings = { + "browser.aboutConfig.showWarning" = false; + "browser.theme.content-theme" = 1; + "browser.theme.toolbar-theme" = 1; + "browser.tabs.firefox-view" = false; + "extensions.activeThemeID" = "firefox-compact-light@mozilla.org"; + }; + }; + policies = { + AutoFillCreditCardEnabled = false; + CaptivePortal = false; + Cookies = { + Behavior = "reject-foreign"; + }; + SanitizeOnShutdown = { + Cache = true; + Cookies = true; + FormData = true; + }; + DisableFirefoxAccounts = true; + DisableFirefoxScreenShots = true; + DisableFirefoxStudies = true; + DisableMasterPasswordCreation = true; + DisablePasswordReveal = true; + DisablePocket = true; + DisableTelemetry = true; + DNSOverHTTPS.Enabled = false; + DontCheckDefaultBrowser = true; + EnableTrackingProtection = true; + GoToIntranetSiteForSingleWordEntryInAddressBar = true; + Homepage.URL = "http://localhost:7331"; + NewTabPage = false; + NoDefaultBookmarks = true; + OfferToSaveLogins = false; + OverrideFirstRunPage = ""; + OverridePostUpdatePage = ""; + PasswordManagerEnabled = false; + PrintingEnabled = false; + SearchBar = "separate"; + ShowHomeButton = true; + UserMessaging = { + ExtensionRecommendations = false; + FeatureRecommendations = false; + UrlbarInterventions = false; + SkipOnboarding = true; + MoreFromMozilla = false; + }; + }; + }; programs.emacs.extraPackages = epkgs: (with epkgs; [ caddyfile-mode emmet-mode |