about summary refs log tree commit diff stats
path: root/modules/default.nix
blob: 3364c3dbeedbaddf9a4d095a2bb1c47545588c02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# NOTE: This file **must** not depend on `pkgs`. This is because `pkgs` is defined in a
# module imported by it, and thus would require infinite recursion.  <2024-10-18>
{...}: let
  nixLib = import ../lib {};

  files =
    builtins.attrValues
    (nixLib.mkByName {
      baseDirectory = ./by-name;
      fileName = "module.nix";
      finalizeFunction = name: value: value;
    });
in {
  imports = files;
}