From ee0ae18a038e6f655f264d068b400f67ed5b89ff Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Fri, 27 Sep 2019 11:14:35 +1000 Subject: [PATCH] Added jormungander --- Deployments/jormungandr.nix | 35 +++++++++++++++++++++++++++++++++++ Hosts/cuallaidh.nix | 1 + 2 files changed, 36 insertions(+) create mode 100644 Deployments/jormungandr.nix diff --git a/Deployments/jormungandr.nix b/Deployments/jormungandr.nix new file mode 100644 index 0000000..2fc1eca --- /dev/null +++ b/Deployments/jormungandr.nix @@ -0,0 +1,35 @@ +{ config, pkgs, ... }: +{ + imports = [ /home/craige/iohk/jormungandr-nix/nixos/jormungandr.nix ]; + services = { + jormungandr = { + enable = true; + enableExplorer = false; + genesisBlockHash = "11e340f9c20a4bcdc19103d9794413be81c9a713374997b574e9f9d66419a2b2"; + trustedPeersAddresses = [ + "/ip4/3.123.177.192/tcp/3000" + "/ip4/52.57.157.167/tcp/3000" + "/ip4/3.123.155.47/tcp/3000" + "/ip4/3.115.57.216/tcp/3000" + "/ip4/3.112.185.217/tcp/3000" + "/ip4/18.139.40.4/tcp/3000" + "/ip4/18.140.134.230/tcp/3000" + ]; + + publicAddress = "/ip4/173.61.28.54/tcp/3100"; + topicsOfInterest = { + messages = "high"; + blocks = "high"; + }; + withBackTraces = true; + listenAddress = "/ip4/127.0.0.1/tcp/3100"; + rest.listenAddress = "127.0.0.1:3101"; + logger = { + level = "info"; + output = "stderr"; + #backend = "monitoring.stakepool.cardano-testnet.iohkdev.io:12201"; + #logs-id = "craige"; + }; + }; + }; +} diff --git a/Hosts/cuallaidh.nix b/Hosts/cuallaidh.nix index 8bf81b1..4bf928e 100644 --- a/Hosts/cuallaidh.nix +++ b/Hosts/cuallaidh.nix @@ -11,6 +11,7 @@ ../Deployments/gitea.nix ../Deployments/hydra.nix ../Deployments/IOHK.nix + ../Deployments/jormungandr.nix ../Deployments/tt-rss.nix ];