Created
October 15, 2017 02:13
-
-
Save dustinlacewell-wk/40b8418f8a8bb7d537080a2fe2fced27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, lib, ... }: | |
with builtins; | |
let | |
filename = "init.el"; | |
path = ".emacs.d/${filename}"; | |
relPath = path: toPath ./. + "/${path}"; | |
in { | |
programs.emacs = { | |
enable = true; | |
package = pkgs.emacsMacport; | |
extraPackages = epkgs: [ | |
epkgs.req-package | |
epkgs.use-package | |
epkgs.badger-theme | |
epkgs.projectile | |
]; | |
}; | |
home.file.".emacs.d/init.el".text = readFile ./init.el; | |
home.file.".emacs.d/init-real.el".text = readFile ./init-real.el; | |
home.file.".emacs.d/init.d".source = ./init.d; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment