Mozilla Firefox icon

Mozilla Firefox 139.0.1

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.1",
  "src": {
    "url": "https://download-installer.cdn.mozilla.net/pub/firefox/releases/139.0.1/mac/en-US/Firefox%20139.0.1.dmg",
    "sha256": "243478e2a2fd5d9dd0cc261c812b0146e433d703fec960c27c7284b2de7e65bc"
  },
  "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/"
  }
}