summaryrefslogtreecommitdiffstats
path: root/tv/3modules/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/3modules/default.nix')
-rw-r--r--tv/3modules/default.nix20
1 files changed, 6 insertions, 14 deletions
diff --git a/tv/3modules/default.nix b/tv/3modules/default.nix
index b6b4faa51..1a0971ec6 100644
--- a/tv/3modules/default.nix
+++ b/tv/3modules/default.nix
@@ -1,16 +1,8 @@
+with import ./lib;
{
- imports = [
- ./charybdis
- ./dnsmasq.nix
- ./ejabberd
- ./focus.nix
- ./hosts.nix
- ./hw.nix
- ./im.nix
- ./iptables.nix
- ./org.freedesktop.machine1.host-shell.nix
- ./slock.nix
- ./x0vncserver.nix
- ./Xresources.nix
- ];
+ imports =
+ map
+ (name: ./. + "/${name}")
+ (attrNames
+ (filterAttrs isNixDirEntry (readDir ./.)));
}