aboutsummaryrefslogtreecommitdiffstats
path: root/modules/fysiweb-host-modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fysiweb-host-modules')
-rw-r--r--modules/fysiweb-host-modules/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/fysiweb-host-modules/default.nix b/modules/fysiweb-host-modules/default.nix
new file mode 100644
index 0000000..d38ba9f
--- /dev/null
+++ b/modules/fysiweb-host-modules/default.nix
@@ -0,0 +1,14 @@
+{ config, lib, ... }:
+let
+ allApps = lib.concatMap lib.attrValues (lib.concatMap lib.attrValues (lib.attrValues config.fysiweb-apps));
+in
+{
+ config = lib.mkMerge (map
+ (appConfig:
+ let path = (toString ../../apps) + "/${appConfig.appName}/host-module.nix"; in
+ lib.optionalAttr (lib.pathIsRegularFile path) { }
+ #(import path { })
+ )
+ #allApps);
+ [ ]);
+}