!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

201 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs40 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
18 Jun 2024
@a-kenji:matrix.orgkenji joined the room.11:24:20
@oscarvarto:matrix.org@oscarvarto:matrix.org left the room.15:30:05
22 Jun 2024
@parasew:matrix.orgparasew | CDC changed their display name from parasew | CDC ☎️ 7549 to parasew | CDC.15:07:33
@bumperboat:matrix.org@bumperboat:matrix.org changed their display name from bumperboat (UTC+1) to bumperboat (UTC+2).16:48:07
25 Jun 2024
@danielgomez3:matrix.orgDaniel Gomez joined the room.11:57:04
27 Jun 2024
@danielgomez3:matrix.orgDaniel GomezIt's still broken for me and I can't get doom emacs any kind of way on NixOS, it's causing me to leave and search for another distro.13:42:07
@mequbic:matrix.orgiqubic (she/her) I just installed Emacs via system.environmentPackages and then installed Doom Emacs locally, in an imperative way, using the guide on the Github. https://github.com/doomemacs/doomemacs?tab=readme-ov-file#install 16:25:33
@mequbic:matrix.orgiqubic (she/her)I also have my packages installed that way.16:25:41
@mequbic:matrix.orgiqubic (she/her)I don't know of a good way to make Nix do this for me.16:26:18
@zeorin:matrix.orgXandor Schiefer I've been using Nix & Doom Emacs mostly declaratively for years. Here's my approach at a high level: https://discourse.nixos.org/t/advice-needed-installing-doom-emacs/8806/8?u=zeorin, and you're welcome to take a look at my current implementation (please excuse the 6000 line file, I haven't yet neatly modularized it). 22:33:17
@zeorin:matrix.orgXandor Schiefer TL;DR: Doom's source is just a package that is installed to disk by home-manager. Doom respects an env var, $DOOMLOCALDIR, that can be set to a writable directory, i.e. not a directory managed by nix. Then I take advantage of some onChange hooks to run doom install/doom sync automatically when certain things change, this become a part of home-manager's activation script. 22:35:51

Show newer messages


Back to Room ListRoom Version: 9