Modularize emacs package
This commit is contained in:
parent
b8c45bf82d
commit
b47de23f0a
|
@ -10,13 +10,17 @@ with lib;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
pkg = mkOption {
|
||||||
|
type = types.package;
|
||||||
|
default = pkgs.emacsUnstable;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf config.modules.editors.emacs.enable {
|
config = mkIf config.modules.editors.emacs.enable {
|
||||||
my = {
|
my = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
## Doom dependencies
|
## Doom dependencies
|
||||||
emacsUnstable
|
config.modules.editors.emacs.pkg
|
||||||
git
|
git
|
||||||
(ripgrep.override {withPCRE2 = true;})
|
(ripgrep.override {withPCRE2 = true;})
|
||||||
gnutls # for TLS connectivity
|
gnutls # for TLS connectivity
|
||||||
|
|
Loading…
Reference in a new issue