commit 7e5c8436ca32d40ef8802027c8c842a5ce92947e parent 7509b1e945c4ac31d9fd2cdea6c4bdad53325009 Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 27 Jun 2019 17:39:10 +0200 profiles.emacs: add standard path to PATH… … to work on non-nixos machines. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | modules/profiles/emacs.nix | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/profiles/emacs.nix b/modules/profiles/emacs.nix @@ -221,7 +221,7 @@ in }; Service = { Environment = '' - PATH=${config.home.homeDirectory}/bin:${config.home.homeDirectory}/.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 GOPATH=${config.home.homeDirectory} ASPELL_CONF=dict-dir=${config.home.homeDirectory}/.nix-profile/lib/aspell + PATH=${config.home.homeDirectory}/bin;${config.home.homeDirectory}/.nix-profile/bin:${config.home.homeDirectory}/.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:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin GOPATH=${config.home.homeDirectory} ASPELL_CONF=dict-dir=${config.home.homeDirectory}/.nix-profile/lib/aspell ''; Type = "forking"; ExecStart = "${pkgs.bash}/bin/bash -c 'source /etc/profile; exec ${config.home.homeDirectory}/.nix-profile/bin/emacs --daemon'";