0xc000022070/zen-browser-flake

Public

Community-driven Nix Flake for the Zen browser

  • Stars1k+13 tuần này
  • Forks93
  • Watchers3
  • Issues4
  • Ngày tạo12/10/2024
  • Cập nhật gần nhất30/10/2026
  • Ngôn ngữNix
  • Giấy phép—
.github/README.md28.2 KBRaw

Zen Browser

This is a nix flake for the Zen browser.

Features

A flake for Zen Browser that lets you fine-tune more than other flakes.

Installation

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

inputs = {
  zen-browser = {
    url = "github:0xc000022070/zen-browser-flake";
    inputs = {
      # IMPORTANT: To ensure compatibility with the latest Firefox version, use nixpkgs-unstable.
      nixpkgs.follows = "nixpkgs";
      home-manager.follows = "home-manager";
    };
  };
  # ...
}

Note

Beta Branch: To keep the flake input only sync with beta updates, use inputs.zen-browser.url = "github:0xc000022070/zen-browser-flake/beta".

Integration

Important

Use the twilight package to guarantee reproducibility, the artifacts of that package are re-uploaded to this repository. However, if you don't agree with that and want to use the official artifacts, use twilight-official.

Home Manager

{
  # home.nix
  imports = [
    inputs.zen-browser.homeModules.beta
    # or inputs.zen-browser.homeModules.twilight
    # or inputs.zen-browser.homeModules.twilight-official
  ];

  programs.zen-browser = {
    enable = true;
    setAsDefaultBrowser = true;
  };
}

Then build your Home Manager configuration:

$ home-manager switch

Check the Home Manager Reference and my rice here! :)

With environment.systemPackages or home.packages

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

Nội dung README thuộc về 0xc000022070 và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/0xc000022070/zen-browser-flake