123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- { pkgs, ... }:
- {
- home.file = {
- ".mozilla/firefox/tmp/mimeTypes.rdf".text = builtins.readFile ./mimeTypes.rdf;
- };
- manual.manpages.enable = false;
- programs.firefox = {
- enable = true;
- package = pkgs.firefox;
- profiles = {
- tmp = {
- name = "tmp";
- id = 0;
- isDefault = true;
- settings = {
- "browser.startup.homepage" = "about:newtab";
- "startup.homepage_welcome_url" = "about:newtab";
- "browser.startup.page" = 3;
- "general.warnOnAboutConfig" = false;
- "browser.shell.checkDefaultBrowser" = false;
- "toolkit.telemetry.reportingpolicy.firstRun" = false;
- "plugin.state.java" = 2; # IcedTea set Always Activate
- # https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/375194
- #
- # Java is looking around for various proxy settings to try to
- # determine them, and doesn't understand Firefox's "5" type.
- # Changing "network.proxy.type" to 0 ("Direct connection, no proxy")
- # causes javaws to make a direct connection.
- # "network.proxy.type" = 0;
- "browser.newtabpage.pinned" = builtins.toJSON [
- null
- {
- baseDomain = "chat.openai.com";
- frecency = 100;
- lastVisitDate = 1643049209841467;
- title = "ChatGPT";
- type = "history";
- url = "https://chat.openai.com/";
- }
- ];
- "browser.search.region" = "GB";
- "distribution.searchplugins.defaultLocale" = "en-GB";
- "general.useragent.locale" = "en-GB";
- "browser.search.defaultenginename" = "Google";
- "network.proxy.type" = 1;
- "network.proxy.socks" = "192.168.154.93";
- "network.proxy.socks_port" = 1080;
- "network.proxy.socks_remote_dns" = true;
- };
- };
- };
- };
- }
|