os/profiles/cachix/default.nix
teutat3s 437b841312
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
pioneer: Add erpnext
2023-07-17 22:40:52 +02:00

13 lines
320 B
Nix

{
pkgs,
lib,
...
}: let
folder = ./.;
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key && key != "default.nix";
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
inherit imports;
}