From 8ca522c80bcf3ccff385906039167b0906cda63c Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 25 Aug 2022 19:51:25 -0600 Subject: home/isolation: use modulesUnder instead of manual import --- util/importAll.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'util/importAll.nix') 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)) -- cgit v1.2.3