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 12287d7ab5)
This commit is contained in:
Grayson Tinker
2026-09-06 23:11:01 -06:00
committed by github-actions[bot]
parent 7f57216fa6
commit eea794fc58

View File

@@ -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