Luis Quiñones dd6ba8e792 feat: variant version will be the default version + official variant
The official variant will pin the official binaries from
github:zen-browser/desktop, that's the option for people that doesn't
trust the binaries of this repository.

In other hand, the "twilight" package is pinned with artifacts that we
store in this repository. The reason why this is default now is because
I decided to follow the philosophy that is available in the official
NixOS page(https://nixos.org/): reproducible, declarative and reliable.
I know this could be a little bit invasive for some people but I think
that they're just a minority and this is a problem that should be solved
now given the time that has been passed since twilight was implemented.
2025-02-15 19:40:23 -05:00
2024-08-28 10:12:17 +02:00

Zen Browser

Originally from MarceColl/zen-browser-flake deleted and re-made repo for discoverability as "GitHub does not like to show forks in the search".

This is a flake for the Zen browser.

Features

  • Linux support
  • Available for x86_64 and aarch64
  • Automatic updated Flake via GitHub Actions
  • Both twilight and beta versions are distributed
  • Integrated browser update checks are disabled

Installation

Caution

The Twilight version is not really that reproducible over time while trying to download the src again due the way how the official Zen browser repository is managing their releases, a new release replaces the previous one and so on. When using this version you should compromise yourself to update the flake with nix flake update zen-browser. Or wait for a contribution that mitigates that behavior in that specific version of the browser.

Just add it to your NixOS flake.nix or home-manager:

inputs = {
  zen-browser.url = "github:0xc000022070/zen-browser-flake";
  ...
}

Integration

To integrate Zen Browser to your NixOS/Home Manager configuration, add the following to your environment.systemPackages or home.packages respectively:

# Only 'x86_64-linux' and 'aarch64-linux' are supported
inputs.zen-browser.packages."${system}".default # beta
inputs.zen-browser.packages."${system}".beta
inputs.zen-browser.packages."${system}".twilight

Afterwards you can just build your configuration and start the Zen Browser

$ sudo nixos-rebuild switch # or home-manager switch
$ zen

1Password

Zen has to be manually added to the list of browsers that 1Password will communicate with. See this wiki article for more information. To enable 1Password integration, you need to add the line .zen-wrapped to the file /etc/1password/custom_allowed_browsers.

LICENSE

This project is licensed under the MIT License.

You are free to use, modify, and distribute this software, provided that the original copyright and permission notice are retained. For more details, refer to the full license text.

Description
[Fork https://github.com/0xc000022070/zen-browser-flake ] Community-driven Nix Flake for the Zen browser
Readme 764 KiB
Languages
Nix 100%