{ config, lib, pkgs, stable, unstable, ... }: { nix.registry.stable.flake = stable; nix.registry.unstable.flake = unstable; _module.args.pkgsStable = import stable { inherit (pkgs.stdenv.hostPlatform) system; inherit (config.nixpkgs) config; }; _module.args.pkgsUnstable = import unstable { inherit (pkgs.stdenv.hostPlatform) system; inherit (config.nixpkgs) config; }; }