From eea794fc58e9334da3c6fa374257db58a290c1ff Mon Sep 17 00:00:00 2001 From: Grayson Tinker Date: Sun, 6 Sep 2026 23:11:01 -0600 Subject: [PATCH] nixos/installer/tools: use channel tarball by default instead of GitHub The project-hosted channel tarballs have several benefits, including better compression, non-reliance on GitHub, and an included command-not-found database helpful for new users. Switch to the better default. (cherry picked from commit 12287d7ab504fd3a0bd9411888276e37bb3914a2) --- nixos/modules/installer/tools/tools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix index fb1f5612ad25..d0885bc9046c 100644 --- a/nixos/modules/installer/tools/tools.nix +++ b/nixos/modules/installer/tools/tools.nix @@ -79,7 +79,7 @@ let # If you prefer a stable release instead, you can change the word unstable to the latest number shown here: https://nixos.org/download # i.e. nixos-24.11 # Use `nix flake update` to update the flake to the latest revision of the chosen release channel. - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; }; outputs = inputs\@{ self, nixpkgs, ... }: { # NOTE: '${options.networking.hostName.default}' is the default hostname