Modularize emacs package

This commit is contained in:
Henrik Lissner 2020-07-31 18:57:14 -04:00
parent b8c45bf82d
commit b47de23f0a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -10,13 +10,17 @@ with lib;
type = types.bool;
default = false;
};
pkg = mkOption {
type = types.package;
default = pkgs.emacsUnstable;
};
};
config = mkIf config.modules.editors.emacs.enable {
my = {
packages = with pkgs; [
## Doom dependencies
emacsUnstable
config.modules.editors.emacs.pkg
git
(ripgrep.override {withPCRE2 = true;})
gnutls # for TLS connectivity