{ lib, ... }: let toModulePath = dir: _: ./. + "/${dir}"; filterDirs = dirs: lib.attrsets.filterAttrs (_: type: type == "directory") dirs; in { imports = lib.mapAttrsToList toModulePath (filterDirs (builtins.readDir ./.)); config = { mod = { gc.configurationLimit = 10; ssh.enable = true; nginx.enable = true; gitea = { enable = true; baseDomain = "ppp.pm"; webfingerEnable = true; webfingerAccounts = [ "p@ppp.pm" ]; }; pppdotpm-site.enable = true; }; }; }