mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-09-02 14:53:40 -05:00
New option to install additional packages
This commit is contained in:
10
default.nix
10
default.nix
@@ -1,5 +1,14 @@
|
|||||||
{ # The files would be going to ~/.config/doom (~/.doom.d)
|
{ # The files would be going to ~/.config/doom (~/.doom.d)
|
||||||
doomPrivateDir
|
doomPrivateDir
|
||||||
|
/* Extra packages to install
|
||||||
|
|
||||||
|
Useful for non-emacs packages containing emacs bindings (e.g.
|
||||||
|
mu4e).
|
||||||
|
|
||||||
|
Example:
|
||||||
|
extraPackages = epkgs: [ pkgs.mu ];
|
||||||
|
*/
|
||||||
|
, extraPackages ? epkgs: []
|
||||||
/* Package set to install emacs and dependent packages from
|
/* Package set to install emacs and dependent packages from
|
||||||
|
|
||||||
Only used to get emacs package, if `bundledPackages` is set.
|
Only used to get emacs package, if `bundledPackages` is set.
|
||||||
@@ -85,6 +94,7 @@ let
|
|||||||
in epkgs.overrideScope' overrides
|
in epkgs.overrideScope' overrides
|
||||||
else
|
else
|
||||||
emacsPackages.overrideScope' overrides;
|
emacsPackages.overrideScope' overrides;
|
||||||
|
emacs = emacsPackages.emacsWithPackages extraPackages;
|
||||||
emacsLoadFiles = [ ./advice.el ];
|
emacsLoadFiles = [ ./advice.el ];
|
||||||
emacsArgs = [
|
emacsArgs = [
|
||||||
"--"
|
"--"
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"nix-straight.el": {
|
"nix-straight.el": {
|
||||||
"owner": "vlaci",
|
"owner": "vlaci",
|
||||||
"repo": "nix-straight.el",
|
"repo": "nix-straight.el",
|
||||||
"rev": "v1.0"
|
"rev": "v1.1.0"
|
||||||
},
|
},
|
||||||
"org-yt": {
|
"org-yt": {
|
||||||
"owner": "TobiasZawada",
|
"owner": "TobiasZawada",
|
||||||
|
@@ -17,12 +17,12 @@
|
|||||||
"args": {
|
"args": {
|
||||||
"owner": "vlaci",
|
"owner": "vlaci",
|
||||||
"repo": "nix-straight.el",
|
"repo": "nix-straight.el",
|
||||||
"rev": "6182914aefea06ef514cd3f3f7f9f67db45940db",
|
"rev": "ed6b14fc7a4f391229e74d5a8828a351798dda27",
|
||||||
"sha256": "038dss49bfvpj15psh5pr9jyavivninl0rzga9cn8qyc4g2cj5i0"
|
"sha256": "0rmpvz2c2f4vdk8xdk0xqdr3pzxqfimwch4ri7cyyzqc327bd0m8"
|
||||||
},
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
"updated": "2019-10-25T22:28:25+00:00",
|
"updated": "2019-11-22T19:53:27+00:00",
|
||||||
"rev": "6182914aefea06ef514cd3f3f7f9f67db45940db"
|
"rev": "ed6b14fc7a4f391229e74d5a8828a351798dda27"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"org-yt": {
|
"org-yt": {
|
||||||
|
Reference in New Issue
Block a user