Fix emacs home-manager integration
This commit is contained in:
parent
8b59f3a71f
commit
43e23b79d1
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue