Skip to content

camillemndn/zotero-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zotero on Nix

This is a best effort to package Zotero to Nixpkgs from the source code.

Zotero officially runs on x86_64-linux, though this project makes it available for aarch64-linux.

Disclaimer

Zotero 7 (which is still in beta) is based on Firefox ESR 115, which will be deprecated in September 2024.

As a comparison, Zotero 6 (currently available in Nixpkgs) is based on Firefox ESR 60, which is deprecated since September 2019.

How to use

To launch Zotero

nix run github:camillemndn/zotero-nix

To use Zotero in a flake

{
  inputs.zotero-nix.url = "github:camillemndn/zotero-nix";

  outputs = { self, nixpkgs, zotero-nix }:
    let system = "x86_64-linux"; # Change this to "aarch64-linux" for ARM64 support
    in {

      nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
        inherit system;
        modules = [
          {
            environment.systemPackages = [ zotero-nix.packages.${system}.default ];

            # The rest of the configuration goes here
          }
        ];
      };

    };
}

Update instructions

Use:

git clone https://github.com/zotero/zotero $zotero_repo_path
./update.sh $zotero_repo_path submodules