Skip to content
TheChatArchiveThe Chat Archive
MiniMaxminimax-m1· MiniMaxHugging Face LMArena Human Preference 140K

home-manager Firefox configuration with extensions, use the latest features of the…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with grok-3-mini-beta’s answer.
  1. User

    home-manager Firefox configuration with extensions, use the latest features of the unstable version

  2. MiniMax Assistant

    Here's a comprehensive home-manager configuration for Firefox using unstable features and extensions. This setup assumes you're using NixOS or a standalone home-manager with access to the unstable channel:

    { config, pkgs, ... }: {
      # Use Firefox from the unstable channel
      programs.firefox = {
        enable = true;
        package = pkgs.unstable.firefox; # Get latest Firefox version
    
        # Modern UI settings
        settings = {
          # Enable Wayland support
          "widget.wayland.force-x11" = false;
          "widget.wayland.scaling" = "auto";
          
          # Privacy enhancements
          "datareporting.healthreport.uploadEnabled" = false;
          "browser.ping-centre.telemetry" = false;
          "browser.newtabpage.activity-stream.feeds.telemetry" = false;
          
          # Performance optimizations
          "browser.cache.disk.enable" = false;
          "browser.sessionhistory.max_entries" = 200;
          
          # UI improvements
          "browser.tabs.tabMinWidth" = 100;
          "browser.tabs.closeButtons" = 2; # Show close button on all tabs
          "browser.tabs.warnOnClose" = false;
        };
    
        # Add modern Firefox extensions
        extensions = with pkgs.firefox-addons; [
          ublock-origin
          dark-reader
          bitwarden
          decentraleyes
          https-everywhere
          privacy-badger
          multi-account-containers
          firefox-color
          tridactyl
          sidebery
        ];
    
        # Environment variables for advanced features
        environment = {
          MOZ_ENABLE_WAYLAND = "1";
          MOZ_WEBRENDER = "1";
          MOZ_GTK_TITLEBAR_DECORATION = "client";
        };
    
        # Optional: Custom CSS for modern UI (create userChrome.css)
        userChrome = ''
          @import "url('chrome://browser/content/browser.css')";
          
          /* Modern tab styling */
          .tabbrowser-tab {
            font-weight: 500 !important;
            margin: 0 2px !important;
          }
          
          /* Hide default titlebar */
          #titlebar {
            visibility: collapse !important;
          }
        '';
      };
    
      # Optional: Add Firefox Developer Edition alongside stable
      environment.systemPackages = [ 
        pkgs.unstable.firefox-devedition
      ];
    }
    

    Key features:

    1. Uses Firefox from unstable channel
    2. Modern UI configuration with Wayland support
    3. Privacy-focused settings
    4. Performance optimizations
    5. Popular extensions included:
      • uBlock Origin
      • Dark Reader
      • Bitwarden
      • HTTPS Everywhere
      • Privacy Badger
      • Firefox Multi-Account Containers
      • Firefox Color
      • Tridactyl (vim-like controls)
      • Sidebery (vertical tabs)
    6. Custom userChrome.css for UI customization
    7. Environment variables for advanced rendering features

    To use this configuration:

    1. Add to your home-manager configuration file
    2. Create a userChrome.css file in your Firefox profile directory
    3. Rebuild your system with nixos-rebuild switch

    For the most up-to-date extensions, check the firefox-addons package set in nixpkgs. You might need to update package names if newer versions become available.

    Remember to:

    • Regularly update your nixpkgs channel (nix-channel --update)
    • Check extension compatibility with the Firefox version
    • Test Wayland support if using a Wayland compositor

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.