Files
nixos-configs/hosts/tadpole/modules/default.nix
2024-08-18 14:41:41 +02:00

20 lines
392 B
Nix

{ 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;
pppdotpm-site.enable = true;
};
};
}