mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
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:
committed by
github-actions[bot]
parent
7f57216fa6
commit
eea794fc58
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user