lib: Use sources.nixpkgs instead of <nixpkgs>

This commit is contained in:
Tom Hubrecht 2023-07-24 09:10:34 +02:00
parent c97c9303fe
commit 078365e576
4 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,8 @@
{ lib, ... }: _:
let let
inherit ((import sources.nixpkgs { })) lib;
sources = import ../npins; sources = import ../npins;
in in

View file

@ -1,6 +1,6 @@
let let
lib = import ../../../lib { inherit (import <nixpkgs> { }) lib; }; lib = import ../../../lib { };
publicKeys = lib.getNodeKeys "compute01"; publicKeys = lib.getNodeKeys "web01";
in in
lib.setDefault { inherit publicKeys; } [ lib.setDefault { inherit publicKeys; } [

View file

@ -1,6 +1,6 @@
let let
lib = import ../../../lib { inherit (import <nixpkgs> { }) lib; }; lib = import ../../../lib { };
publicKeys = lib.getNodeKeys "storage01"; publicKeys = lib.getNodeKeys "web01";
in in
lib.setDefault { inherit publicKeys; } [ lib.setDefault { inherit publicKeys; } [

View file

@ -1,5 +1,5 @@
let let
lib = import ../../../lib { inherit (import <nixpkgs> { }) lib; }; lib = import ../../../lib { };
publicKeys = lib.getNodeKeys "web01"; publicKeys = lib.getNodeKeys "web01";
in in