19 Jun 2023 |
mei 🌒& | i'd be happy to pair with you (or anyone else around here) on the whole locking mechanism thing, i can spin up a nixos box on GCP and get a doom emacs there which should be good enough. the vsc live share is atrocious if you have some latency | 22:50:34 |
mei 🌒& | * i'd be happy to pair with you (or anyone else around here) on the whole locking mechanism thing, i can spin up a nixos box on GCP and get a doom emacs there which should be good enough. vsc live share is atrocious if you have some latency | 22:50:40 |
mei 🌒& | * also, if you want, i'd be happy to pair with you (or anyone else around here) on the whole locking mechanism thing, i can spin up a nixos box on GCP and get a doom emacs there which should be good enough. vsc live share is atrocious if you have some latency | 22:51:49 |
mei 🌒& | UTC 1pm-11pm is good | 22:51:51 |
20 Jun 2023 |
JoelMcCracken | thanks! I may take you up on that, let me get back to you | 14:09:23 |
hdzki ⚡️ | In reply to@j4:matrix.org rabil95219: If you're interested (like I do) in getting a similar config on two different computers w/ Nix, this is what I do. (There may be other way of doing it but well, mine works well for now). I fix the doomemacs version via home.file.".emacs.d".source = pkgs.fetchFromGitHub... . This also needs variables (session wide for instance via systemd.user.sessionVariables DOOMLOCALDIR = "$HOME/.local/share/doomemacs"; and DOOMPROFILELOADFILE = "$HOME/.local/share/doomemacs/profiles/load.el"; You need to change this because by default doom & some emacs packages expect to be able to write in .emacs.d. Afterwards, my repo setup symlinks my emacs config between my git repo and .doom.d to get the same config. :) Sorry for necroposting, but for the last point. How do you refer to your git repo without hardcoding in the path? Using standard ./path notation in Nix will symlink from the nix store | 21:32:42 |
j4m3s | I have a kind of setup script in my repo that I use to ln -sf outside of Nix basically | 21:33:37 |
hdzki ⚡️ | Oh so a shell script. I thought you found a way to do it in nix 😅 | 21:34:40 |
hdzki ⚡️ | I could probably afford hardcoding git repo location since it's consistent in all of my machines | 21:35:12 |
hdzki ⚡️ | How do you deal with extra config stuff then? Write out a file and load it in config.el ? | 21:35:40 |
j4m3s | wdym by extra config ? | 21:36:31 |
hdzki ⚡️ | * How do you deal with extra config stuff then? Write out a file and load it in config.el ? I'm asking because i used to have a setup like this with NDE extraConfig = ''
(setq exec-path (append exec-path '( ${
pkgs.lib.concatMapStringsSep " " (x: ''"${x}/bin"'') extraBins
} )))
(setenv "PATH" (concat (getenv "PATH") ":${
pkgs.lib.concatMapStringsSep ":" (x: "${x}/bin") extraBins
}"))
'; | 21:36:34 |
j4m3s | Ooh err, currently I'm not doing this | 21:37:02 |
hdzki ⚡️ | In reply to@j4:matrix.org wdym by extra config ? I used to use the extraConfig option to pass in store paths and for doom emacs for stuff such as parinfer and co | 21:37:12 |
j4m3s | But I guess I woud symlink something from the nix store with home-manager as well | 21:37:16 |
hdzki ⚡️ | In reply to@j4:matrix.org wdym by extra config ? * I used to use the extraConfig option to pass in store paths and for doom emacs for stuff such as parinfer and co which by default download exec on first run | 21:37:22 |
j4m3s | It it's just runtime path of your emacs, can't you wrap your emacs and provide your own derivation ? (to programs.emacs or w/e else you use) | 21:38:00 |
hdzki ⚡️ | In reply to@j4:matrix.org It it's just runtime path of your emacs, can't you wrap your emacs and provide your own derivation ? (to programs.emacs or w/e else you use) Because i need to set the variables inside of doom emacs. Some modules are stubborn and won't load from PATH unless you specify it | 21:39:01 |
hdzki ⚡️ | and if you're doing that already, why not just set them to store paths in the first place. | 21:39:18 |
hdzki ⚡️ | i'm probably gonna write it out and then load it from my config.el | 21:39:42 |
hdzki ⚡️ | For example
``` | 21:41:29 |
hdzki ⚡️ | * For example, these 2 won't load from path (use-package langtool
:config
(setq langtool-bin "${pkgs.languagetool}/bin/languagetool-commandline"))
(setq parinfer-rust-library "${pkgs.kakounePlugins.parinfer-rust}/lib/libparinfer_rust.dylib") | 21:41:38 |
hdzki ⚡️ | * For example, these 2 won't load from path so you have to set them (use-package langtool
:config
(setq langtool-bin "${pkgs.languagetool}/bin/languagetool-commandline"))
(setq parinfer-rust-library "${pkgs.kakounePlugins.parinfer-rust}/lib/libparinfer_rust.dylib") | 21:41:48 |
j4m3s | You could generate a separate file and link via home.file.".doom.d.generated".source = ... something and then load it from your doom emacs config I guess | 21:46:15 |
21 Jun 2023 |
| dash joined the room. | 19:54:07 |
23 Jun 2023 |
| @novaviper:matrix.org joined the room. | 03:02:08 |
| @novaviper:matrix.org left the room. | 04:28:42 |
@asbjorn:olli.ng | Latest nix-doom-emacs is broken for me. Can open emacs standalone, but the systemd service dumps a bunch of errors elated to not finding something called "annalist" (I'm noticing I really need to pin my emacs setup now 😅)
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/qgq41l3x4fbdx36qx7xxl4b1sn5sj70x-doom-modeline-workarounds.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/qgq41l3x4fbdx36qx7xxl4b1sn5sj70x-doom-modeline-workarounds.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/j7qpa26x2g5wkv7d9rzvd4fwfvadz9ii-doom.d/config.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/j7qpa26x2g5wkv7d9rzvd4fwfvadz9ii-doom.d/config.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/mfwnjy57ilyzqw56978i5amspw882614-doom-private/config.extra.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/mfwnjy57ilyzqw56978i5amspw882614-doom-private/config.extra.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/ik1ni0r6lncx4fkac4grkzfm4nmr5vnp-doom-emacs/lisp/doom-start.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/z2mzf110hlkq9ca7cbnm47s93sczg0mw-info-workarounds.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/z2mzf110hlkq9ca7cbnm47s93sczg0mw-info-workarounds.el (source)...done
Jun 23 21:09:24 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:28 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:28 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:28 plate bash[1525906]: Starting Emacs daemon.
Jun 23 21:09:28 plate systemd[1765]: Started Emacs text editor.
| 19:11:09 |
@asbjorn:olli.ng | not sure if this is the right place to dump this kind of thing. I fixed my own setup, but not in any generalizable way | 19:18:25 |
@roman.gonzalez:matrix.org | I'm seeing the same issue with annalist 😑 | 19:42:57 |