From 3376fcbaedebf74964d68f79ca66013c96248c24 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..4718e93f 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 = (./. + "/${name}-hardware.nix");
   in {
     imports = [
       # Get some of the very lowest-level system configuration for this
-- 
GitLab