diff options
author | Alan Pearce | 2024-06-06 13:29:21 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-06 13:29:21 +0200 |
commit | dc48f429240cbacdc5a3dff6b698fc297e2ab17c (patch) | |
tree | d529625ad83dc03854911f5ad2a1362dee038057 /system | |
parent | e117d4f464b801ca7905285bc158a0dcdbf35841 (diff) | |
download | nixfiles-dc48f429240cbacdc5a3dff6b698fc297e2ab17c.tar.lz nixfiles-dc48f429240cbacdc5a3dff6b698fc297e2ab17c.tar.zst nixfiles-dc48f429240cbacdc5a3dff6b698fc297e2ab17c.zip |
include local sources in pinned nix path
Diffstat (limited to 'system')
-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; + }; }; } |