summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-08-25 19:51:25 -0600
committerAlejandro Soto <alejandro@34project.org>2022-08-25 20:11:37 -0600
commit8ca522c80bcf3ccff385906039167b0906cda63c (patch)
treec68d44b7eba9e705d718881a5374a6b50965bdcf /util
parent222125ca5960398a4f5e5580dfc66893ddb676ea (diff)
home/isolation: use modulesUnder instead of manual import
Diffstat (limited to 'util')
-rw-r--r--util/importAll.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/importAll.nix b/util/importAll.nix
index 8062682..678cf06 100644
--- a/util/importAll.nix
+++ b/util/importAll.nix
@@ -11,6 +11,7 @@ let
entry = name: _: {
name = basename name;
- value = root + "/${name}";
+ value = import (root + "/${name}");
};
-in mapAttrs' entry (filterAttrs isMatch (readDir root))
+in
+ mapAttrs' entry (filterAttrs isMatch (readDir root))