Start emacs after sway

This commit is contained in:
Alexander Bantyev 2021-07-24 01:23:37 +03:00
parent d077a9e17a
commit 9ce670a6ff
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -85,8 +85,14 @@ in {
services.emacs.enable = true; services.emacs.enable = true;
systemd.user.services.emacs.Service.Environment = systemd.user.services.emacs = {
Service = {
Environment =
"PATH=/run/current-system/sw/bin:/etc/profiles/per-user/balsoft/bin"; "PATH=/run/current-system/sw/bin:/etc/profiles/per-user/balsoft/bin";
After = "sway-session.target";
WantedBy = "sway-session.target";
};
};
xdg.configFile."emacs/init.el".source = pkgs.substituteAll ({ xdg.configFile."emacs/init.el".source = pkgs.substituteAll ({
src = ./init.el; src = ./init.el;