aboutsummaryrefslogtreecommitdiff
path: root/modules/system/default.nix
blob: 240d970f9502368143069d750f2c0e119929f892 (plain)
1
2
3
4
5
6
7
8
9
10
11
{lib, ... }:

let
  all = lib.filterAttrs
    ( n: _: n != "default.nix" && ! lib.hasPrefix "." n )
    (builtins.readDir ./.);

in {
  imports = map (p: ./. + "/${p}") ( builtins.attrNames all );
}