{"id":30355017,"url":"https://github.com/andre4ik3/nix-mozilla-addons","last_synced_at":"2026-05-19T10:04:49.412Z","repository":{"id":309388472,"uuid":"1036100361","full_name":"andre4ik3/nix-mozilla-addons","owner":"andre4ik3","description":"Addons for Mozilla-based software (Firefox, Thunderbird, Zotero)","archived":false,"fork":false,"pushed_at":"2025-08-19T00:22:53.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-19T02:30:22.982Z","etag":null,"topics":["firefox","nix","thunderbird","zotero"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andre4ik3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-11T14:58:27.000Z","updated_at":"2025-08-12T08:29:55.000Z","dependencies_parsed_at":"2025-08-11T17:19:47.507Z","dependency_job_id":null,"html_url":"https://github.com/andre4ik3/nix-mozilla-addons","commit_stats":null,"previous_names":["andre4ik3/nix-mozilla-addons"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andre4ik3/nix-mozilla-addons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre4ik3%2Fnix-mozilla-addons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre4ik3%2Fnix-mozilla-addons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre4ik3%2Fnix-mozilla-addons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre4ik3%2Fnix-mozilla-addons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andre4ik3","download_url":"https://codeload.github.com/andre4ik3/nix-mozilla-addons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre4ik3%2Fnix-mozilla-addons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271097696,"owners_count":24698742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firefox","nix","thunderbird","zotero"],"created_at":"2025-08-19T04:09:01.397Z","updated_at":"2026-05-19T10:04:49.378Z","avatar_url":"https://github.com/andre4ik3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Nix Mozilla Addons\n==================\n\nManage addons for Mozilla-based programs ([Firefox], [Thunderbird], and [Zotero]) using Nix.\n\n**Why?**\n\n- Keep addons versioned together with your system\n- Choose and pin your addon versions, only updating them when you need\n- Instant forced addon installation with enterprise policies (instead of having to wait for background download)\n- Identically easy deployment for addons both on and off the official Mozilla addon server\n- Deploy addons *offline* as part of a system image\n\nSee [`addons.json5`](./addons.json5) for the list of currently supported addons. Adding a new addon is as simple as\nadding a single line to that file (unless it's not on the Mozilla addon server). Zotero and other extensions can be\nseen in [`extras.py`](./updater/extras.py).\n\nExtensions are automatically updated daily using GitHub actions.\n\nUsage\n-----\n\nThe addon data files are stored in a separate branch from the code (to allow\npinning the addon versions separately from the code):\n\n```nix\n{\n  inputs = {\n    # ... other stuff ...\n\n    mozilla-addons = {\n      url = \"github:andre4ik3/nix-mozilla-addons\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n      # the below input controls the actual addon data, auto-updated daily\n      # update your version pin using `nix flake update mozilla-addons/data`\n      inputs.data.url = \"github:andre4ik3/nix-mozilla-addons/data\";\n    };\n\n    # ... other stuff ...\n  };\n\n  outputs = { mozilla-addons, nixpkgs, ... }: {\n    nixosConfigurations.exampleSystem = nixpkgs.lib.nixosSystem {\n      system = \"x86_64-linux\";\n      modules = [\n        ./some-module.nix\n        # ... other stuff ...\n        {\n          nixpkgs.overlays = [ mozilla-addons.overlays.default ];\n        }\n        # ... other stuff ...\n      ];\n    };\n  };\n}\n```\n\nIn addition, each extension passes through its extension ID, which can be used in extension policies for configuration.\nHere is an example of a NixOS module configuring Firefox with uBlock Origin and preconfigured filters:\n\n```nix\n{ pkgs, ... }:\n\nlet\n  policies = with pkgs.firefoxAddons; {\n    ExtensionSettings = {\n      ${ublock-origin.id} = {\n        install_url = \"file://${ublock-origin}\";\n        installation_mode = \"force_installed\";\n        default_area = \"menupanel\";\n        private_browsing = true;\n      };\n    };\n    \"3rdparty\".extensions = {\n      ${ublock-origin.id} = {\n        toOverwrite.filterLists = [\n          \"user-filters\"\n          \"ublock-filters\"\n          \"ublock-badware\"\n          \"ublock-privacy\"\n          \"ublock-quick-fixes\"\n          \"ublock-unbreak\"\n          \"easylist\"\n          \"easyprivacy\"\n          \"urlhaus-1\"\n          \"plowe-0\"\n          \"fanboy-cookiemonster\"\n          \"ublock-cookies-easylist\"\n          \"fanboy-social\"\n          \"easylist-chat\"\n          \"easylist-newsletters\"\n          \"easylist-notifications\"\n          \"easylist-annoyances\"\n        ];\n      };\n    };\n  };\n\n  package = pkgs.firefox.override {\n    extraPolicies = policies;\n  };\nin\n\n{\n  # for Darwin\n  environment.systemPackages = [ package ];\n\n  # for NixOS\n  programs.firefox = {\n    enable = true;\n    inherit package policies;\n  };\n}\n```\n\n[Firefox]: https://addons.mozilla.org/en-US/firefox/\n[Thunderbird]: https://addons.thunderbird.net/en-US/thunderbird/\n[Zotero]: https://www.zotero.org/support/plugins\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandre4ik3%2Fnix-mozilla-addons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandre4ik3%2Fnix-mozilla-addons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandre4ik3%2Fnix-mozilla-addons/lists"}