{ config, lib, epkgs, ... }:

{
  config = {
    layers = {
      completion.enable = true;
      nix.enable = true;
      latex.enable = true;
      git.enable = true;
      c.enable = true;
      org.enable = true;
      python.enable = true;
      javascript.enable = true;
      systemd.enable = true;
    };

    settings.debug.enable = true;

    package = {
      smartparens.enable = true;
      direnv.enable = true;
      nix-update.enable = true;
      xah-fly-keys.enable = true;
      literate-agda-mode.enable = true;
      markdown-agda-mode.enable = true;
    };

    appearance = {
      theme = {
        enable = true;
        package = epkgs.melpaPackages.dracula-theme;
        themeName = "dracula";
      };
      fonts = {
        font = "Source Code Pro 11";
        unicode-font = "STIXGeneral";
      };
    };
  };
}
