Mozilla Firefox icon

Mozilla Firefox 139.0

Web browser

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    firefox # Mozilla Firefox
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    firefox # Mozilla Firefox
  ];
}

Package Definition

{
  "pname": "firefox",
  "version": "139.0",
  "src": {
    "url": "https://download-installer.cdn.mozilla.net/pub/firefox/releases/139.0/mac/en-US/Firefox%20139.0.dmg",
    "sha256": "03f1066b70b6e502c4f1a732a63f9f93146c6ea23d0af5e2e3a57d030e255353"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/Firefox.app\" && cp -r \"Firefox.app\" \"$out/Applications\"",
    "mkdir -p \"$out/bin\" && ln -s \"$out/firefox.wrapper.sh\" \"$out/bin/firefox\""
  ],
  "meta": {
    "description": "Web browser",
    "homepage": "https://www.mozilla.org/firefox/"
  }
}