commit 0439e9ce45c25754af05b82c6a26a3297e209a81 parent 277e86626ced7e6b340062744009778b78c75169 Author: Vincent Demeester <vincent@sbr.pm> Date: Tue, 28 Aug 2018 14:41:58 +0200 Add /home/vincent/bin to PATH env for emacs daemons Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | emacs.nix | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/emacs.nix b/emacs.nix @@ -7,7 +7,7 @@ Description = "Emacs: the extensible, self-documenting text editor"; }; Service = { - Environment = "PATH=/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"; + Environment = "PATH=/home/vincent/bin:/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"; Type = "forking"; ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon"; ExecStop = "/home/vincent/.nix-profile/bin/emacsclient --eval (kill-emacs)"; @@ -22,7 +22,7 @@ Description = "Emacs: the extensible, self-documenting text editor"; }; Service = { - Environment = "PATH=/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"; + Environment = "PATH=/home/vincent/bin:/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"; Type = "forking"; ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon=org"; ExecStop = "/home/vincent/.nix-profile/bin/emacsclient --socket-name=org --eval (kill-emacs)";