Skip to content

Instantly share code, notes, and snippets.

@sampointer
sampointer / gist:b506369b926ad395123aa7f18275de92
Last active February 28, 2024 18:31
NixOS Packages From Unstable alongside Stable (Google Chrome)

If you'd like to keep up-to-date with Chrome from unstable but otherwise want to run a stable NixOS release you can do the following:

  • Create a file /etc/nixos/unstable.nix:
{ config, pkgs, ...}:
let
  baseconfig = { allowUnfree = true; };
  unstable = import <nixos-unstable> { config = baseconfig; };
in {