all repos — nixfiles @ 93288d41342cb9768c35a90d2f7909ebb764ba4a

System and user configuration, managed by nix and home-manager

dev/web: extract (linux) browser setup to module

Alin
commit

93288d41342cb9768c35a90d2f7909ebb764ba4a

parent

e174388cc60ef164959a9439eef4955853ce1255

1 file changed, 0 insertions(+), 71 deletions(-)

changed files
M user/settings/development/web.nix → user/settings/development/web.nix
@@ -1,6 +1,5 @@
{ pkgs, - lib, ... }: {
@@ -13,76 +12,6 @@ ];
home.shellAliases = { # 0.2.25 current completion command only affects `flyctl`, although `fly` is a link to `flyctl` fly = "flyctl"; - }; - programs.chromium = lib.mkIf pkgs.stdenv.isLinux { - enable = true; - package = pkgs.ungoogled-chromium; - extensions = [ - # # uBlock origin - { id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } - { - id = "ocaahdebbfolfmndjeplogmgcagdmblk"; - updateUrl = "https://raw.githubusercontent.com/NeverDecaf/chromium-web-store/master/updates.xml"; - } - ]; - dictionaries = with pkgs.hunspellDictsChromium; [ - en-gb - de-de - ]; - }; - programs.firefox = { - enable = pkgs.stdenv.isLinux; - package = pkgs.firefox-devedition; - profiles.dev-edition-default = { - search.default = "ddg"; - 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: