29 Feb 2024 |
| Adnan Zaman changed their profile picture. | 01:29:46 |
2 Mar 2024 |
| DrEtrange joined the room. | 16:04:36 |
5 Mar 2024 |
woobilicious | ckie (they/them): I wonder if we can just make an opinionated package set inspired by doom instead of using doom itself, that way it might be easier to maintain. | 10:19:33 |
mei 🌒& | woobilicious: it's doable for sure | 12:04:23 |
mei 🌒& | but I'm chained to my doom muscle memory and large language support | 12:04:40 |
mei 🌒& | * but I'm chained to my doom muscle memory and significant language support | 12:04:48 |
6 Mar 2024 |
woobilicious | ckie (they/them): doom's UX stuff can be included, just figuring out how to convert doom's modules in to nix compatible manifest seems like it might be harder than fixing nix-straight. | 00:29:31 |
9 Mar 2024 |
heyoni | In reply to @woobilicious:matrix.org anyone know why doom needs an to generate an env file? without it it has trouble finding binaries like grep, gpg and ssh in my case | 05:56:36 |
10 Mar 2024 |
simple-coder | https://github.com/ryan4yin/nix-config/blob/main/home/base/desktop/editors/emacs/default.nix | 01:48:06 |
simple-coder | https://www.reddit.com/r/NixOS/comments/18uk50x/comment/ktqvezb/?context=3 | 01:48:17 |
simple-coder | I was using nix-doom-emacs for a while, but I got tired of being it being a year behind due to it being broken, so I decided to install doom emacs manually, in a declarative way using nix, ryan4yin helped me out by sharing his solution, but I can't seem to get it working on my end, the description of my issue is in the reddit issue. | 01:51:55 |
simple-coder | The emacs and doom commands do not even exist, so I'm guessing that the env var for doom emacs is not being set? | 01:53:49 |
simple-coder | Download doom-emacs.nix | 01:59:01 |
simple-coder | Download emacs.nix | 01:59:08 |
simple-coder | Could any of you try this out on your end to see if it works. The original from ryan4yin is in the github link above. | 02:00:18 |
simple-coder | I am going install doom emacs manually with nix until nix-doom-emacs gets fixed, which will probably take a long time. | 02:04:24 |
simple-coder | These are 2 modules that I import in home.nix, so they are a part of home-manager. | 02:21:21 |
| Ryan Yin joined the room. | 02:31:06 |
Ryan Yin | Download image.png | 02:41:20 |
Ryan Yin | ~/.config.doom causes problems, the source path is the same as the destination xdg.configFIle."doom" | 02:42:06 |
Ryan Yin | * ~/.config.doom causes problems, the source path ~/.config.doom is the same as the destination xdg.configFIle."doom" , that's meaningless.
If you have already put your doom configs into ~/.config/doom, then just delete these lines.
| 02:44:46 |
Ryan Yin | * ~/.config.doom causes problems, the source path ~/.config.doom is the same as the destination xdg.configFIle."doom" , that's meaningless.
If you have already put your doom configs into ~/.config/doom manually, then just delete these lines.
| 02:47:20 |
simple-coder | Ryan Yin: Ok, thanks for clarifying this, I'm going to make these changes, rebuild then come back, I'll let you know if doom emacs works, thanks again for taking the time to help me out. | 03:04:39 |
Ryan Yin | Another problem is, the doomemacs argument is coming from my flake inputs, which will cause problems too. Seems like you're not using the flakes experimental feature. | 03:11:34 |
Ryan Yin | And you're not very familiar with either home-manager nor NixOS, which make copy some nix configs from others painful... I understand that. | 03:15:36 |
Ryan Yin | Download image.png | 03:21:14 |
simple-coder | Uhh, oh I missed that part where you are calling doomemacs arg from a flakes input, I'm using a system flake, with home-manager setup as a flake, and (flake+nix-direnv+emacs-direnv) setup for development, and I already have the flakes experimental feature enabled. I am by no means a nix expert, currently I just understand it well enough for using it to setup development environments. Anyways I did have doom emacs setup in my system flake integrated with home-manager, but that was setup for the nix-emacs-doom tool. https://github.com/nix-community/nix-doom-emacs/blob/master/docs/reference.md#home-manager , but I'm not sure if that will be useful for your solution. How did you setup doom emacs in your system flake, and should I just remove the doomemacs arg? | 03:24:36 |
Ryan Yin | simple-coder: You should add this into your flake inputs, and then pass it to doom-emacs.nix as a specialArgs: https://github.com/ryan4yin/nix-config/blob/main/flake.nix#L184-L188 | 03:28:17 |
simple-coder | Ryan Yin: Ok I'll do that, one second. | 03:29:02 |
Ryan Yin | An tutorial for specialArgs, in case you do not familiar with it:
https://nixos-and-flakes.thiscute.world/nixos-with-flakes/nixos-with-flakes-enabled#pass-non-default-parameters-to-submodules | 03:29:29 |