2023-11-15 16:09:47 +00:00
|
|
|
{ config, lib, pkgs, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
home.file.".emacs.d/early-init.el" = {
|
2023-12-14 11:30:17 +00:00
|
|
|
enable = true;
|
2023-12-15 12:41:21 +00:00
|
|
|
text = ''
|
|
|
|
(setq package-enable-at-startup nil)
|
|
|
|
(setq package-install-upgrade-built-in t)
|
|
|
|
'';
|
2023-11-15 16:09:47 +00:00
|
|
|
};
|
|
|
|
home.file.".emacs.d/init.el" = {
|
|
|
|
enable = true;
|
|
|
|
text = builtins.readFile ./init.el;
|
|
|
|
};
|
|
|
|
home.file.".emacs.d/templates" = {
|
|
|
|
enable = true;
|
|
|
|
text = builtins.readFile ./templates;
|
|
|
|
};
|
|
|
|
programs.emacs = {
|
|
|
|
enable = true;
|
2023-12-15 12:41:21 +00:00
|
|
|
package = pkgs.emacs29-pgtk;
|
2023-11-15 16:09:47 +00:00
|
|
|
extraConfig = builtins.readFile ./init.el;
|
|
|
|
};
|
|
|
|
}
|