!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
18 Jun 2024
@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.orgbumperboat (UTC+2) 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
@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 files change (packages.el, etc), this become a part of home-manager's activation script. 22:36:21
@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 home.nix file, I haven't yet neatly modularized it). 22:37:17
28 Jun 2024
@sem:one.ems.hostsemAre the eMacs packages in a lock file managed by nix?18:07:58
@zeorin:matrix.orgXandor SchieferNope, not at this stage... The way to do it properly would be to create a `fetchStraightDeps` nix function that creates a fixed output derivation including a lock file, and then this should be an input to a Doom derivation. Haven't got that far yet.18:28:48
@zeorin:matrix.orgXandor Schiefer* Nope, not at this stage... The way to do it properly would be to create a `fetchDoomDeps` nix function that creates a fixed output derivation including a lock file, and then this should be an input to a Doom derivation. Haven't got that far yet.18:36:43
@zeorin:matrix.orgXandor Schiefer* Nope, not at this stage... The way to do it properly would be to create a `fetchDoomDeps` nix function that creates a fixed output derivation including a lock file, and then this should be an input to a Doom derivation. Haven't got that far yet.18:37:20
29 Jun 2024
@sem:one.ems.hostsem
In reply to @zeorin:matrix.org
Nope, not at this stage... The way to do it properly would be to create a `fetchDoomDeps` nix function that creates a fixed output derivation including a lock file, and then this should be an input to a Doom derivation. Haven't got that far yet.
Ahh same, could you DM me when you’ve got it working? Would love to copy some nix to get my config 100% reproducible
22:22:16
30 Jun 2024
@er10:matrix.org@er10:matrix.org left the room.17:55:30
2 Jul 2024
@ckie:ckie.devmei 🌒&

hi, i am stepping down from nix-doom-emacs. it's already been inactive for a while but i'm leaving the detsys community

good luck everybody, nice/hacky/declarative doom or not!

00:24:14
@hexa:lossy.network@hexa:lossy.network joined the room.22:48:44
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.22:49:53
@admin:nixos.org@admin:nixos.org joined the room.22:52:40
@admin:nixos.org@admin:nixos.org left the room.22:52:48
@hexa:lossy.network@hexa:lossy.network left the room.22:53:02
5 Jul 2024
@aaronvargo:matrix.orgaaron joined the room.03:35:37
@wcohen:matrix.orgwcohen joined the room.13:26:11
8 Jul 2024
@zzantares:matrix.orgHamlet'sPiedPlumber changed their display name from zzantares to demo-reset.06:00:26
@zzantares:matrix.orgHamlet'sPiedPlumber removed their profile picture.06:00:34
10 Jul 2024
@zzantares:matrix.orgHamlet'sPiedPlumber changed their display name from demo-reset to Hamlet'sPiedPlumber.23:02:24
15 Jul 2024
@adzuki:matrix.orgadzuki joined the room.21:18:51

There are no newer messages yet.


Back to Room ListRoom Version: 9