From d0bf5393d24e2916495c03a03b8029f3bb3b9826 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Tue, 7 Nov 2023 19:20:39 +0000
Subject: [PATCH] Fix prod deployment:  Nix liked to be looking in the wrong
 folder

Closes #143.
Thanks to http://nixos.wiki/wiki/Nix_Language:_Tips_%26_Tricks for
inspiration.
---
 morph/grid/production/grid.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/morph/grid/production/grid.nix b/morph/grid/production/grid.nix
index cf77dddb..f5914a60 100644
--- a/morph/grid/production/grid.nix
+++ b/morph/grid/production/grid.nix
@@ -62,8 +62,8 @@ let
 
   defineStorageNode = name: { vpnIP, stateVersion }:
   let
-    nodecfg = import "${./.}/${name}-config.nix";
-    hardware ="${./.}/${name}-hardware.nix";
+    nodecfg = import (./. + "/${name}-config.nix");
+    hardware = import (./. + "/${name}-hardware.nix");
   in {
     imports = [
       # Get some of the very lowest-level system configuration for this
-- 
GitLab