🚀 use local flake inputs for registry

nixos
Moritz Böhme 2022-09-03 11:31:21 +02:00
parent a2257a48f8
commit 04fe22a791
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{ config { config
, lib , lib
, pkgs , pkgs
, inputs
, ... , ...
}: }:
@ -34,6 +35,17 @@ in
dates = [ "weekly" ]; dates = [ "weekly" ];
}; };
registry = {
master-upstream.to = {
type = "github";
owner = "nixos";
repo = "nixpkgs";
};
master.flake = inputs.master;
nixpkgs.flake = inputs.nixpkgs;
stable.flake = inputs.stable;
};
settings = { settings = {
substituters = [ substituters = [
"https://cache.nixos.org/" "https://cache.nixos.org/"