Modularize emacs package
This commit is contained in:
parent
b8c45bf82d
commit
b47de23f0a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue