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