diff options
Diffstat (limited to 'system/settings')
-rw-r--r-- | system/settings/pin.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/settings/pin.nix b/system/settings/pin.nix index 381115bd..533149fe 100644 --- a/system/settings/pin.nix +++ b/system/settings/pin.nix @@ -1,12 +1,12 @@ -{ pkgs, ... }: let - lib = import ../../lib { inherit pkgs; }; - sources = import ../../npins; + inherit (import ../../sources.nix) nixPath sources; in { - nix.nixPath = lib.mkNixPath sources; - nix.registry.nixpkgs.to = { - type = "path"; - path = sources.nixpkgs; + nix = { + inherit nixPath; + registry.nixpkgs.to = { + type = "path"; + path = sources.nixpkgs; + }; }; } |