added host Marisa (haven't tested config yet)
This commit is contained in:
21
home/stuff/programs/emacs.nix
Normal file
21
home/stuff/programs/emacs.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
extraPackages = epkgs: with epkgs; [
|
||||
elcord
|
||||
gruvbox-theme
|
||||
ivy
|
||||
rainbow-delimiters
|
||||
];
|
||||
overrides = self: super: {
|
||||
gruvbox-theme = self.melpaPackages.gruvbox-theme.overrideAttrs(_: {
|
||||
patches = [ ../../config/emacs/gruvbox-el.patch ];
|
||||
});
|
||||
};
|
||||
};
|
||||
home.file.emacs = {
|
||||
source = ../../config/emacs/init.el;
|
||||
target = "${config.home.homeDirectory}/.emacs.d/init.el";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user