From c0b907e25ceffe025ef564e4f7526622fa86f0bf Mon Sep 17 00:00:00 2001 From: Terje Larsen Date: Mon, 14 Sep 2026 18:37:06 +0200 Subject: [PATCH] chore: use nixos.org tarball for nixpkgs --- README.md | 2 +- dev/flake.lock | 17 +++++++---------- dev/flake.nix | 2 +- template/root-project/flake.nix | 2 +- template/root/flake.nix | 2 +- template/subflake-nixpkgs-project/dev/flake.nix | 2 +- template/subflake-project/flake.nix | 2 +- 7 files changed, 13 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index e4ec023..9fb4fad 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ You can also use this flake in the root flake, when using flake-parts, all you n inputs = { flake-parts.url = "github:hercules-ci/flake-parts"; dev-flake.url = "github:terlar/dev-flake"; - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; }; outputs = inputs: diff --git a/dev/flake.lock b/dev/flake.lock index 2223c88..f259c25 100644 --- a/dev/flake.lock +++ b/dev/flake.lock @@ -2,18 +2,15 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1788752844, - "narHash": "sha256-VaWGJ6+cIYN2erfSecbRV+4ljI185Ty2wUrXyvQbgOw=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "dc5d91f840324650bac8c379428c7037a416959a", - "type": "github" + "lastModified": 1789286504, + "narHash": "sha256-3i80JnZ9pZ7tWReb/Sqpc32cfzffCu8TWLnbnH0hN9c=", + "rev": "ef34387ddd751e1ab8857adf4676492d32eb24ec", + "type": "tarball", + "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1073009.ef34387ddd75/nixexprs.tar.zst" }, "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst" } }, "root": { diff --git a/dev/flake.nix b/dev/flake.nix index 3fb90dd..95bc01a 100644 --- a/dev/flake.nix +++ b/dev/flake.nix @@ -2,7 +2,7 @@ description = "Dependencies for development purposes"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; }; outputs = _: { }; diff --git a/template/root-project/flake.nix b/template/root-project/flake.nix index be0d616..8f1db22 100644 --- a/template/root-project/flake.nix +++ b/template/root-project/flake.nix @@ -7,7 +7,7 @@ url = "github:terlar/dev-flake"; inputs.flake-parts.follows = "flake-parts"; }; - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; }; outputs = diff --git a/template/root/flake.nix b/template/root/flake.nix index be0d616..8f1db22 100644 --- a/template/root/flake.nix +++ b/template/root/flake.nix @@ -7,7 +7,7 @@ url = "github:terlar/dev-flake"; inputs.flake-parts.follows = "flake-parts"; }; - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; }; outputs = diff --git a/template/subflake-nixpkgs-project/dev/flake.nix b/template/subflake-nixpkgs-project/dev/flake.nix index f3946ff..0544fca 100644 --- a/template/subflake-nixpkgs-project/dev/flake.nix +++ b/template/subflake-nixpkgs-project/dev/flake.nix @@ -3,7 +3,7 @@ inputs = { dev-flake.url = "github:terlar/dev-flake"; - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; }; outputs = _: { }; diff --git a/template/subflake-project/flake.nix b/template/subflake-project/flake.nix index a7d7f66..4f532be 100644 --- a/template/subflake-project/flake.nix +++ b/template/subflake-project/flake.nix @@ -3,7 +3,7 @@ inputs = { flake-parts.url = "github:hercules-ci/flake-parts"; - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; }; outputs =