cardano-node: Switched to using iohk-nix
This commit is contained in:
parent
edd4c3aafc
commit
d9a8103276
|
@ -6,6 +6,7 @@ let
|
||||||
|
|
||||||
sources = import ../nix/sources.nix;
|
sources = import ../nix/sources.nix;
|
||||||
cardanoNodeProject = import (sources.cardano-node + "/nix") { gitrev = sources.cardano-node.rev; };
|
cardanoNodeProject = import (sources.cardano-node + "/nix") { gitrev = sources.cardano-node.rev; };
|
||||||
|
iohkNix = import (sources.iohk-nix) {};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -25,7 +26,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
environment = "mainnet";
|
environment = "mainnet";
|
||||||
hostAddr = "0.0.0.0";
|
hostAddr = "0.0.0.0";
|
||||||
nodeConfig = config.services.cardano-node.environments.mainnet.nodeConfig // {
|
nodeConfig = iohkNix.cardanoLib.environments.mainnet.nodeConfig // {
|
||||||
hasPrometheus = [ "127.0.0.1" 12798 ];
|
hasPrometheus = [ "127.0.0.1" 12798 ];
|
||||||
setupScribes = [{
|
setupScribes = [{
|
||||||
scKind = "JournalSK";
|
scKind = "JournalSK";
|
||||||
|
|
Loading…
Reference in a new issue