diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-08-25 19:51:25 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-08-25 20:11:37 -0600 |
| commit | 8ca522c80bcf3ccff385906039167b0906cda63c (patch) | |
| tree | c68d44b7eba9e705d718881a5374a6b50965bdcf /util | |
| parent | 222125ca5960398a4f5e5580dfc66893ddb676ea (diff) | |
home/isolation: use modulesUnder instead of manual import
Diffstat (limited to 'util')
| -rw-r--r-- | util/importAll.nix | 5 |
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)) |
