From f912789cd8cfe5a0bf2e12a0b6c3557660bd579a Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 16 Oct 2019 14:13:11 +1000 Subject: [PATCH] Added jormungandr-stake --- Deployments/jormungandr-stake.nix | 17 +++++++++++++++++ Hosts/pi-ceithir.nix | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 Deployments/jormungandr-stake.nix diff --git a/Deployments/jormungandr-stake.nix b/Deployments/jormungandr-stake.nix new file mode 100644 index 0000000..cba9850 --- /dev/null +++ b/Deployments/jormungandr-stake.nix @@ -0,0 +1,17 @@ +{ lib, config, pkgs, ... }: + +{ + + disabledModules = [ "services/networking/jormungandr.nix" ]; + + imports = let + jormungandrNixSrc = builtins.fetchTarball https://github.com/input-output-hk/jormungandr-nix/archive/master.tar.gz; + in [ + (import (jormungandrNixSrc + "/nixos")) + ]; + + environment.systemPackages = with pkgs; [ + jq # CLI JSON processor + ]; + +} diff --git a/Hosts/pi-ceithir.nix b/Hosts/pi-ceithir.nix index e40dc28..572a419 100644 --- a/Hosts/pi-ceithir.nix +++ b/Hosts/pi-ceithir.nix @@ -6,7 +6,9 @@ { imports = [ + ../Deployments/jormungandr-stake.nix ]; + deployment.targetHost = "10.69.0.204"; networking.hostName = "pi-ceithir"; # Define your hostname.