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
|
let
|
||||||
|
inherit ((import sources.nixpkgs { })) lib;
|
||||||
|
|
||||||
sources = import ../npins;
|
sources = import ../npins;
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
@ -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; } [
|
||||||
|
|
|
@ -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; } [
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue