tv modules: import all Nix dir entries

This commit is contained in:
tv 2023-01-27 13:48:18 +01:00
parent 09c1d8ce2e
commit 6a5b4c73b0

View File

@ -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 ./.)));
}