Skip to content

Instantly share code, notes, and snippets.

View sampointer's full-sized avatar

Sam Pointer sampointer

View GitHub Profile
@sampointer
sampointer / gist:b506369b926ad395123aa7f18275de92
Last active August 1, 2024 18:10
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 {
{ nixpkgs ? import <nixpkgs> { } }:
# Standard packages
let
pkgs = [
nixpkgs.aws-adfs
nixpkgs.awscli2
nixpkgs.azure-cli
nixpkgs.git
nixpkgs.go