diff --git a/morph/grid.nix b/morph/grid.nix index dc931642278139ca74d8dd2bf2b6b99a1facca6a..f3bd9ed01cf35cce905b3909df63379bcd40ae0e 100644 --- a/morph/grid.nix +++ b/morph/grid.nix @@ -45,5 +45,7 @@ in inherit (cfg) publicStoragePort; }; - "staging002" = import ./staging002.nix; + # Pass the whole grid configuration to the module and let it take what it + # wants. + "staging002" = import ./staging002.nix cfg; } diff --git a/morph/staging002.nix b/morph/staging002.nix index 88bed08e9ad7e2d0c4ae31e2605c7ede64b23faa..04ae604c762779fe454646dc042f1f0bde9fb18f 100644 --- a/morph/staging002.nix +++ b/morph/staging002.nix @@ -1,7 +1,7 @@ -{ ... }: let cfg = import ./staging002-config.nix; in +{ publicStoragePort, ... }: { imports = [ # Include the results of the hardware scan.