From 04fe22a791d21c48371357b204e67f43189e473c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sat, 3 Sep 2022 11:31:21 +0200 Subject: [PATCH] :rocket: use local flake inputs for registry --- modules/config/nix.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/config/nix.nix b/modules/config/nix.nix index 3d1aa60..5747c41 100644 --- a/modules/config/nix.nix +++ b/modules/config/nix.nix @@ -1,6 +1,7 @@ { config , lib , pkgs +, inputs , ... }: @@ -34,6 +35,17 @@ in 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 = { substituters = [ "https://cache.nixos.org/"