nixos-config/modules/default.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2021-01-21 22:13:53 +04:00
builtins.listToAttrs (builtins.map (path: {
name = builtins.head (let
b = builtins.baseNameOf path;
m = builtins.match "(.*)\\.nix" b;
in if isNull m then [ b ] else m);
value = import path;
}) [
./applications.nix
./applications/alacritty.nix
./applications/emacs
./applications/firefox.nix
./applications/geary.nix
./applications/okular.nix
./applications/packages.nix
./applications/weechat.nix
./applications/yt-utilities.nix
./boot.nix
./devices.nix
./hardware.nix
./network.nix
./nix.nix
./overlay.nix
./power.nix
./secrets-envsubst.nix
./secrets.nix
./security.nix
./servers/gitea.nix
./servers/jitsi.nix
./servers/mailserver.nix
./servers/matrix-synapse.nix
./servers/minidlna.nix
./servers/nextcloud.nix
./servers/nginx.nix
./servers/vsftpd.nix
2021-03-18 18:10:07 +04:00
./servers/home-assistant.nix
2021-03-18 23:37:59 +04:00
./servers/mastodon.nix
2021-01-21 22:13:53 +04:00
./services.nix
./themes.nix
./virtualisation.nix
./workspace/cursor.nix
./workspace/fonts.nix
./workspace/git.nix
./workspace/gnome3
./workspace/gpg.nix
./workspace/gtk.nix
./workspace/i3blocks
./workspace/kde
./workspace/light.nix
./workspace/locale.nix
./workspace/mako.nix
./workspace/misc.nix
./workspace/simple-osd-daemons.nix
./workspace/ssh.nix
./workspace/sway
./workspace/xresources.nix
./workspace/zsh.nix
])