Start emacs after sway
This commit is contained in:
parent
d077a9e17a
commit
9ce670a6ff
@ -85,8 +85,14 @@ in {
|
|||||||
|
|
||||||
services.emacs.enable = true;
|
services.emacs.enable = true;
|
||||||
|
|
||||||
systemd.user.services.emacs.Service.Environment =
|
systemd.user.services.emacs = {
|
||||||
"PATH=/run/current-system/sw/bin:/etc/profiles/per-user/balsoft/bin";
|
Service = {
|
||||||
|
Environment =
|
||||||
|
"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;
|
||||||
|
Loading…
Reference in New Issue
Block a user