aboutsummaryrefslogtreecommitdiffstats
path: root/modules/fysiweb-host-modules/default.nix
blob: d38ba9f0a9b6e63d0d661650634377023b22f22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
    [ ]);
}