Skip to content
Snippets Groups Projects
Commit 0f53d9de authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Pass in the grid configuration

parent 8a1c9a26
No related branches found
No related tags found
No related merge requests found
...@@ -45,5 +45,7 @@ in ...@@ -45,5 +45,7 @@ in
inherit (cfg) publicStoragePort; 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;
} }
{ ... }:
let let
cfg = import ./staging002-config.nix; cfg = import ./staging002-config.nix;
in in
{ publicStoragePort, ... }:
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment