Fix emacs home-manager integration

This commit is contained in:
Nathan McCarty 2022-06-13 23:23:50 -04:00
parent 8b59f3a71f
commit 43e23b79d1
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 4 additions and 8 deletions

View File

@ -1,15 +1,11 @@
{ config, pkgs, doomEmacs, ... }: { config, pkgs, doomEmacs, ... }:
let
emacsPackage = pkgs.emacsPgtkNativeComp;
in
{ {
# Install emacs # Install emacs
environment.systemPackages = [ environment.systemPackages = with pkgs; [
emacsPackage
# For markdown rendering # For markdown rendering
pkgs.python39Packages.grip python39Packages.grip
# For graph generation # For graph generation
pkgs.graphviz graphviz
]; ];
# Utilize home-manager # Utilize home-manager
@ -20,7 +16,7 @@ in
programs.doom-emacs = { programs.doom-emacs = {
enable = true; enable = true;
doomPrivateDir = ../doom.d; doomPrivateDir = ../doom.d;
emacsPackage = emacsPackage; emacsPackage = pkgs.emacsPgtkNativeComp;
}; };
# Startup service # Startup service
services.emacs = { services.emacs = {