summaryrefslogtreecommitdiffstats
path: root/tv/3modules/default.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-01-31 00:34:07 +0100
committerlassulus <git@lassul.us>2023-01-31 00:34:07 +0100
commit62bd490d1e7217898bc793afc20de853ac1e6622 (patch)
tree454b9cbf6f72c54b993487ebc1f8deeb1cbb6506 /tv/3modules/default.nix
parent369fa6b7eb3f0fa3e1034bcad438eeda017949f8 (diff)
parenta85de9a0deb81f8b8759bfc6a54db0d823ab7a19 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/3modules/default.nix')
-rw-r--r--tv/3modules/default.nix23
1 files changed, 6 insertions, 17 deletions
diff --git a/tv/3modules/default.nix b/tv/3modules/default.nix
index 8c1066b71..1a0971ec6 100644
--- a/tv/3modules/default.nix
+++ b/tv/3modules/default.nix
@@ -1,19 +1,8 @@
+with import ./lib;
{
- imports = [
- ./charybdis
- ./dnsmasq.nix
- ./ejabberd
- ./focus.nix
- ./hosts.nix
- ./hw.nix
- ./im.nix
- ./iptables.nix
- ./lidControl.nix
- ./org.freedesktop.machine1.host-shell.nix
- ./systemd.nix
- ./slock.nix
- ./x0vncserver.nix
- ./Xresources.nix
- ./wwan.nix
- ];
+ imports =
+ map
+ (name: ./. + "/${name}")
+ (attrNames
+ (filterAttrs isNixDirEntry (readDir ./.)));
}