You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for sharing this. I went a step further to have reproducible builds and ended up pinning the unstable channel to a specific commit. This is how I've done it:
nixpkgs.config={packageOverrides=pkgs: {unstable=import(builtins.fetchTarball{# Descriptive name to make the store path easier to identifyname="nixos-unstable-25-11-2023";# Find the hash of the latest commit for nixos-unstable with# git ls-remote https://github.com/nixos/nixpkgs nixos-unstableurl="https://github.com/nixos/nixpkgs/archive/19cbff58383a4ae384dea4d1d0c823d72b49d614.tar.gz";# Obtained using `nix-prefetch-url --unpack <url>`sha256="0dzvnjccsnc2661yks0xypj2px335k6abysm335z1yh3qfi3rd6a";}){config=config.nixpkgs.config;};};};
Thank you for your contribution, that is indeed a useful addition
fictionbecomesfact
changed the title
Comments: NixOS - Add Unstable Channel Packages to Configuration
Comments: NixOS - Add Unstable Channel Packages and Services to Configuration
Apr 2, 2024
fictionbecomesfact
changed the title
Comments: NixOS - Add Unstable Channel Packages and Services to Configuration
Comments: How to add unstable channel packages and services to NixOS configuration
Feb 1, 2025
Comments for How to add unstable channel packages and services to NixOS configuration
The text was updated successfully, but these errors were encountered: