Fix using doom emacs installed from flake

This commit is contained in:
Evie Litherland-Smith 2023-09-12 21:39:44 +01:00
parent 5fd82e89c0
commit 557a020052

View file

@ -1,9 +1,14 @@
{ pkgs, inputs, ... }: { pkgs, inputs, ... }:
let
{ sessionVariables = {
# imports = [ ../accounts/default.nix ../git/default.nix ]; DOOMLOCALDIR = "$HOME/.local/share/doomemacs";
DOOMPROFILELOADFILE = "$DOOMLOCALDIR/load.el";
};
in {
xdg.configFile.emacs.source = inputs.doom-emacs;
programs.emacs.enable = true; programs.emacs.enable = true;
home = { home = {
inherit sessionVariables;
sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ]; sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ];
packages = with pkgs; [ packages = with pkgs; [
# Emacs dependencies # Emacs dependencies