From 56d7273644016e3df179a652d4897ed1df20d4ec Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 24 Jun 2021 08:33:15 -0400
Subject: [PATCH] Use the short name "payments" outside of the network attrset

---
 morph/grid/production/grid.nix | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/morph/grid/production/grid.nix b/morph/grid/production/grid.nix
index b8c56171..f513a4e2 100644
--- a/morph/grid/production/grid.nix
+++ b/morph/grid/production/grid.nix
@@ -11,7 +11,7 @@ let
     monitoringvpnKeyDir = toString ./. + "/${rawConfig.monitoringvpnKeyDir}";
   };
 
-  "payments.privatestorage.io" = {
+  payments = {
     imports = [
       gridlib.issuer
       gridlib.hardware-aws
@@ -102,5 +102,6 @@ in {
     description = "PrivateStorage.io Production Grid";
   };
 
-  inherit "payments.privatestorage.io" "monitoring";
+  "payments.privatestorage.io" = payments;
+  inherit monitoring;
 } // storageNodes
-- 
GitLab