Fix using doom emacs installed from flake
This commit is contained in:
parent
5fd82e89c0
commit
557a020052
|
@ -1,9 +1,14 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
# imports = [ ../accounts/default.nix ../git/default.nix ];
|
||||
let
|
||||
sessionVariables = {
|
||||
DOOMLOCALDIR = "$HOME/.local/share/doomemacs";
|
||||
DOOMPROFILELOADFILE = "$DOOMLOCALDIR/load.el";
|
||||
};
|
||||
in {
|
||||
xdg.configFile.emacs.source = inputs.doom-emacs;
|
||||
programs.emacs.enable = true;
|
||||
home = {
|
||||
inherit sessionVariables;
|
||||
sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ];
|
||||
packages = with pkgs; [
|
||||
# Emacs dependencies
|
||||
|
|
Loading…
Reference in a new issue