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
inherit ((import sources.nixpkgs { })) lib;
sources = import ../npins;
in

View file

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

View file

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

View file

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