WIP: lighthouse setup on zippy.
This commit is contained in:
18
common/ethereum.nix
Normal file
18
common/ethereum.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
sops.secrets.lighthouse_jwt = {
|
||||
sopsFile = ./../secrets/${config.networking.hostName}.yaml;
|
||||
};
|
||||
services.ethereum.lighthouse-beacon.mainnet = {
|
||||
enable = true;
|
||||
#package = pkgs.unstable.lighthouse;
|
||||
args = {
|
||||
execution-endpoint = "http://eth1:8551";
|
||||
execution-jwt = config.sops.secrets.lighthouse_jwt.path;
|
||||
checkpoint-sync-url = "https://beaconstate.info";
|
||||
};
|
||||
};
|
||||
environment.persistence."/persist".directories = [
|
||||
"/var/lib/private/lighthouse-mainnet"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user