diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-02-23 08:07:11 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-02-26 04:36:24 +0100 |
commit | 597ec76b7cb1527b1df215548a8f50bddccd8606 (patch) | |
tree | 9ea88686f3b15689e222a1d286a6726f6ce59ace /modules/fysiweb-host-modules | |
parent | d2873fe0f6a117d7157c2a6f204a864f9edeb668 (diff) |
apps/authelia: init
Diffstat (limited to 'modules/fysiweb-host-modules')
-rw-r--r-- | modules/fysiweb-host-modules/default.nix | 14 |
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); + [ ]); +} |