flake: switch to nixpkgs via the Tarball protocol

see https://github.com/NixOS/infra/pull/562
This commit is contained in:
Bloxx12 2025-07-08 16:19:30 +02:00
commit 4fba84bc9d
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
2 changed files with 10 additions and 12 deletions

17
flake.lock generated
View file

@ -800,18 +800,15 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1751792365, "lastModified": 315532800,
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=", "narHash": "sha256-5EzvWAMTAf6m6Ynab7EnYz9OfJO2wHCb/yhtP8ACQQQ=",
"owner": "NixOS", "rev": "9b008d60392981ad674e04016d25619281550a9d",
"repo": "nixpkgs", "type": "tarball",
"rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre826760.9b008d603929/nixexprs.tar.xz"
"type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "type": "tarball",
"ref": "nixos-unstable", "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz"
"repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_3": {

View file

@ -40,8 +40,9 @@
templates = import ./templates; templates = import ./templates;
}; };
inputs = { inputs = {
# Unstable nixpkgs baby! # Unstable nixpkgs, using the new Lockable HTTP Tarball protocol
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # https://github.com/NixOS/infra/pull/562.
nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz";
systems.url = "github:nix-systems/default-linux"; systems.url = "github:nix-systems/default-linux";