From b72380280826383b25feb6ce2e24fb3da2e07cee Mon Sep 17 00:00:00 2001 From: Jake Hamilton Date: Fri, 6 Jan 2023 09:50:28 -0800 Subject: [PATCH] fix: export modules as functions instead of paths --- lib/module/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/module/default.nix b/lib/module/default.nix index 5b7d49c..5e9f874 100644 --- a/lib/module/default.nix +++ b/lib/module/default.nix @@ -28,7 +28,7 @@ in modules-metadata = builtins.map create-module-metadata user-modules; merge-modules = modules: metadata: modules // { - ${metadata.name} = metadata.path; + ${metadata.name} = import metadata.path; }; modules-without-default = foldl merge-modules { } modules-metadata; default-module =