!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
7 Sep 2023
@JoelMcCracken:matrix.orgJoelMcCrackenok13:44:05
@JoelMcCracken:matrix.orgJoelMcCracken

'prod' workstation
yeah i need to start doing this

13:44:26
@JoelMcCracken:matrix.orgJoelMcCracken *

'prod' workstation

yeah i need to start doing this

13:44:37
@ckie:ckie.devmei 🌒&the thing is currently NDE nearly forces you to wait for the whole damn rebuild cycle13:45:02
@JoelMcCracken:matrix.orgJoelMcCrackenfor what i had been doing before as I've been trying to make all these packages work, it involved basically re-running home manager over and over13:45:44
@ckie:ckie.devmei 🌒&doom doesn't encourage this and nix does but there's a big Mess to resolve when we make them touch13:45:49
@JoelMcCracken:matrix.orgJoelMcCrackenyeah13:45:57
@ckie:ckie.devmei 🌒&
In reply to @JoelMcCracken:matrix.org
for what i had been doing before as I've been trying to make all these packages work, it involved basically re-running home manager over and over
yeah for me this takes a while because my evals are quite big
13:48:48
@ckie:ckie.devmei 🌒&so i usually eval at point in my org config13:49:10
@JoelMcCracken:matrix.orgJoelMcCrackenone thing about working on nde directly now is that I can run the check thing to see how its working13:49:22
@ckie:ckie.devmei 🌒&a friend who wasn't on Nix yet at the time could just M-x package-install and that was like. wow13:51:06
@ckie:ckie.devmei 🌒&like i went "oh you should get $X" and they just ran a few things in emacs and got the package13:51:23
@ckie:ckie.devmei 🌒& even with vanilla doom that'd be what, a doom sync and restart 13:51:53
@JoelMcCracken:matrix.orgJoelMcCrackenweljl you can i think run M-x doom sync13:53:13
@ckie:ckie.devmei 🌒&there's hints of a mainframe ideology in there though; what happens with a few emacsen on different machines13:53:20
@ckie:ckie.devmei 🌒& * there's hints of a mainframe ideology in there though; what happens with a few emacsen on different machines?13:53:23
@JoelMcCracken:matrix.orgJoelMcCrackensure13:54:02
@ckie:ckie.devmei 🌒& * there's hints of a mainframe ideology in there though; what happens with a few emacsen on different machines? 13:54:29
@ckie:ckie.devmei 🌒&if we had a imperative2nix that'd be really neat13:54:50
@JoelMcCracken:matrix.orgJoelMcCrackenfor sure13:54:58
@JoelMcCracken:matrix.orgJoelMcCrackenlike somehow a way to generate an overlay from the current running doom13:55:22
@ckie:ckie.devmei 🌒&what's actually missing for that? what if we put a Nix in the doom13:55:28
@ckie:ckie.devmei 🌒&yea13:55:29
@ckie:ckie.devmei 🌒& like nix-shell -p but doom calls it from inside its package manager 13:55:44
@ckie:ckie.devmei 🌒& see: [RFC 0040] "Ret-cont" recursive Nix 13:57:09
@ckie:ckie.devmei 🌒&vaguely. not sure if that's precisely the right one13:57:45
@ckie:ckie.devmei 🌒&yeah this isn't the right one14:00:01
@ckie:ckie.devmei 🌒& I think I was thinking of [RFC 0092] Computed derivations but it's been >a year, need to reread 14:02:38
@JoelMcCracken:matrix.orgJoelMcCrackenyeah i don't know14:03:33
@JoelMcCracken:matrix.orgJoelMcCracken

i imagine it would work like:

  • a user picks a package to install from a list
  • nix installs it
  • emacs loads it within the running process
14:05:37

Show newer messages


Back to Room ListRoom Version: 9