Commit fbc12efeed23

Vincent Demeester <vincent@sbr.pm>
2018-08-29 15:52:59
Add GOPATH env variable to emacs daemon...
... I need to find a way to set it up from somewhere else... Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent cd834ed
Changed files (1)
emacs.nix
@@ -8,7 +8,7 @@
     };
     Service = {
       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 ASPELL_CONF=dict-dir=/home/vincent/.nix-profile/lib/aspell
+        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 GOPATH=/home/vincent ASPELL_CONF=dict-dir=/home/vincent/.nix-profile/lib/aspell
       '';
       Type      = "forking";
       ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon";
@@ -25,7 +25,7 @@
     };
     Service = {
       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 ASPELL_CONF=dict-dir=/home/vincent/.nix-profile/lib/aspell
+        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 GOPATH=/home/vincent ASPELL_CONF=dict-dir=/home/vincent/.nix-profile/lib/aspell
       '';
       Type      = "forking";
       ExecStart = "/home/vincent/.nix-profile/bin/emacs --daemon=org";