From 597ec76b7cb1527b1df215548a8f50bddccd8606 Mon Sep 17 00:00:00 2001
From: Alexander Foremny <aforemny@posteo.de>
Date: Fri, 23 Feb 2024 08:07:11 +0100
Subject: apps/authelia: init

---
 modules/fysiweb-host-modules/default.nix | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 modules/fysiweb-host-modules/default.nix

(limited to 'modules/fysiweb-host-modules')

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);
+    [ ]);
+}
-- 
cgit v1.2.3