tests/clightning-replication: reuse pkgs
instance
This reduces eval time by 30%.
This commit is contained in:
parent
6cbd0d93ae
commit
ae733d887e
@ -14,6 +14,8 @@ let
|
|||||||
clientBaseConfig = {
|
clientBaseConfig = {
|
||||||
imports = [ ../modules/modules.nix ];
|
imports = [ ../modules/modules.nix ];
|
||||||
|
|
||||||
|
nixpkgs.pkgs = pkgs;
|
||||||
|
|
||||||
nix-bitcoin.generateSecrets = true;
|
nix-bitcoin.generateSecrets = true;
|
||||||
|
|
||||||
services.clightning = {
|
services.clightning = {
|
||||||
@ -54,7 +56,9 @@ makeTestVM {
|
|||||||
services.clightning.replication.encrypt = true;
|
services.clightning.replication.encrypt = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
server = { ... }: {
|
server = {
|
||||||
|
nixpkgs.pkgs = pkgs;
|
||||||
|
|
||||||
environment.etc."ssh-host-key" = {
|
environment.etc."ssh-host-key" = {
|
||||||
source = keys.server;
|
source = keys.server;
|
||||||
mode = "400";
|
mode = "400";
|
||||||
|
Loading…
Reference in New Issue
Block a user