forked from DGNum/infrastructure
lib: Use sources.nixpkgs instead of <nixpkgs>
This commit is contained in:
parent
c97c9303fe
commit
078365e576
4 changed files with 8 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
{ lib, ... }:
|
||||
_:
|
||||
|
||||
let
|
||||
inherit ((import sources.nixpkgs { })) lib;
|
||||
|
||||
sources = import ../npins;
|
||||
in
|
||||
|
||||
|
|
|
@ -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; } [
|
||||
|
|
|
@ -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; } [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
let
|
||||
lib = import ../../../lib { inherit (import <nixpkgs> { }) lib; };
|
||||
lib = import ../../../lib { };
|
||||
publicKeys = lib.getNodeKeys "web01";
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue