Skip to content

Up-to-date versions of google-chrome-dev and google-chrome-beta for Nix users.

Notifications You must be signed in to change notification settings

nix-community/browser-previews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browser-previews flake for NixOS users

This flake provides the latest Chrome stable, beta and dev releases. The flake is updated regularly to ensure fast and up to date releases, which would otherwise not be possible in nixpkgs.

Why?

google-chrome-beta and google-chrome-dev were not getting maintained in nixpkgs, and were dropped in NixOS/nixpkgs#261870.

Available packages

Run nix flake show github:nix-community/browser-previews for the up-to-date list.

How?

To directly run latest google-chrome from this flake

NIXPKGS_ALLOW_UNFREE=1 nix run github:nix-community/browser-previews#google-chrome --impure

Likewise for google-chrome-beta or google-chrome-dev:

NIXPKGS_ALLOW_UNFREE=1 nix run github:nix-community/browser-previews#google-chrome-beta --impure
NIXPKGS_ALLOW_UNFREE=1 nix run github:nix-community/browser-previews#google-chrome-dev --impure

To install a package from this flake

  • First you must add it as a input to your flake.nix:
inputs.browser-previews = { url = "github:nix-community/browser-previews";
                            inputs.nixpkgs.follows = "nixpkgs"; };
  • Pass inputs to your modules using specialArgs.

  • Then in configuration.nix, use it like this:

{ config, lib, pkgs, inputs, ... }:
{
  environment.systemPackages = with inputs.browser-previews.packages.${pkgs.system}; [
    google-chrome # Stable Release
    google-chrome-beta # Beta Release
    google-chrome-dev # Dev Release
  ];
}

(Must have flakes enabled.)

Why not include chromium?

The chromium build takes more resources than I'm willing to spend.

About

Up-to-date versions of google-chrome-dev and google-chrome-beta for Nix users.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published