1: { fetchFromGitHub, path }: 2: 3: with rec { 4: nix-config = import "${configSrc}"; 5: 6: configSrc = with builtins.tryEval <nix-config>; 7: if success then value else stableSrc; 8: 9: stableSrc = fetchFromGitHub { 10: owner = "Warbo"; 11: repo = "nix-config"; 12: rev = "796865f"; 13: sha256 = "132v4w8a1lf99d8n7w743cq7rdqj5w56a10f9xa9vmqx2lazhzvx"; 14: }; 15: }; 16: 17: { inherit nix-config; }