Fix using doom emacs installed from flake
This commit is contained in:
parent
5fd82e89c0
commit
557a020052
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue