system/settings/pin.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12
{ pkgs, ... }: let lib = import ../../lib { inherit pkgs; }; sources = import ../../nix/sources.nix; in { nix.nixPath = lib.mkNixPath sources; nix.registry.nixpkgs.to = { type = "path"; path = sources.nixpkgs; }; }