File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 55} :
66with lib ; {
77 network = mkOption {
8- type = types . enum [ "mainnet" "prater" "sepolia" "holesky" ] ;
8+ type = types . enum [ "mainnet" "prater" "sepolia" "holesky" "gnosis" "chiado" ] ;
99 default = name ;
1010 defaultText = "name" ;
1111 description = "The Eth2 network to join" ;
Original file line number Diff line number Diff line change @@ -168,6 +168,11 @@ in {
168168 ${ data-dir-arg } \
169169 ${ concatStringsSep " \\ \n " filteredArgs }
170170 '' ;
171+ bin = let
172+ bins . gnosis = "nimbus_beacon_node_gnosis" ;
173+ bins . chiado = "nimbus_beacon_node_gnosis" ;
174+ in
175+ bins . ${ cfg . args . network } or "nimbus_beacon_node" ;
171176 in
172177 nameValuePair serviceName ( mkIf cfg . enable {
173178 after = [ "network.target" ] ;
185190 ExecStartPre = lib . mkBefore [
186191 '' ${ pkgs . coreutils-full } /bin/cp --no-preserve=all --update=none \
187192 /proc/sys/kernel/random/uuid ${ data-dir } /${ cfg . args . keymanager . token-file } ''
188- "${ cfg . package } /bin/nimbus_beacon_node trustedNodeSync ${ checkpointSyncArgs } "
193+ "${ cfg . package } /bin/${ bin } trustedNodeSync ${ checkpointSyncArgs } "
189194 ] ;
190- ExecStart = "${ cfg . package } /bin/nimbus_beacon_node ${ scriptArgs } " ;
195+ ExecStart = "${ cfg . package } /bin/${ bin } ${ scriptArgs } " ;
191196 }
192197 baseServiceConfig
193198 ( mkIf ( cfg . args . jwt-secret != null ) {
Original file line number Diff line number Diff line change 22 applyPatches ,
33 fetchFromGitHub ,
44 pkgs ,
5- targets ? [ "nimbus_beacon_node" "nimbus_validator_client" ] ,
5+ targets ? [ "nimbus_beacon_node" "nimbus_validator_client" "gnosis-build" "gnosis-vc-build" ] ,
66 stableSystems ? [ "x86_64-linux" "aarch64-linux" ] ,
77} : let
88 version = "24.12.0" ;
You can’t perform that action at this time.
0 commit comments