!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
22 Oct 2022
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
like our impl of straight.el and whatnot is quite inaccurate but yeah

If we really think about it, doom-emacs doesn't make too much sense when you have Nix

You can literally have all the advantages of straight.el without dealing with the complexity of it

16:00:51
@k0kada:matrix.orgk0kada (he/him)However, rewriting doom-emacs in Nix also doesn't seem like a good idea imo16:01:15
@ckie:ckie.devmei 🌒&mm yes, we have a balance to deal with16:02:09
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
thoughts on soft fork of the doom repo?
Maybe a hard fork could work, where we drop everything related to straight.el and rebuild using the Emacs withPackages
16:02:16
@k0kada:matrix.orgk0kada (he/him)But them it is our own lol16:02:36
@ckie:ckie.devmei 🌒&yeah16:02:39
@ckie:ckie.devmei 🌒&
In reply to @ckie:ckie.dev
mm yes, we have a balance to deal with
need to find a way where we can leech off of the main project for most of the effort
16:03:01
@ckie:ckie.devmei 🌒&we can draw in the last 20% or whatnot16:03:11
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
need to find a way where we can leech off of the main project for most of the effort
Maybe we could convince upstream to have a way to skip straight.el entirely
16:04:10
@k0kada:matrix.orgk0kada (he/him)Something like "just load the packages from this directory"16:04:21
@k0kada:matrix.orgk0kada (he/him)Also convince them to use JSON to declare the packages, we could consume it and drop nix-straight.el entirely16:05:13
@ckie:ckie.devmei 🌒&it's more intertwined than that16:06:51
@ckie:ckie.devmei 🌒&straight.el also decides the package versions16:07:00
@ckie:ckie.devmei 🌒&but they can also be locked from within doom16:07:15
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
it's more intertwined than that
Yeah, what I meant was more like if upstream maybe could generate its lock for their versions or something after each update
16:08:26
@ckie:ckie.devmei 🌒& as in doom sync? 16:08:53
@k0kada:matrix.orgk0kada (he/him)Yeah16:09:02
@k0kada:matrix.orgk0kada (he/him)And publish in the repo in a format that we could consume16:09:21
@ckie:ckie.devmei 🌒& "the repo"? doom sync is runtime for imperative uesrs 16:10:19
@ckie:ckie.devmei 🌒& * "the repo"? doom sync is runtime for imperative users 16:10:21
@ckie:ckie.devmei 🌒&you can have package! in your config16:10:41
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
you can have package! in your config
I know, but only for the things that upstream has a ping
16:11:20
@ckie:ckie.devmei 🌒&ooh now i'm curious, wanna swap configs?16:11:21
@k0kada:matrix.orgk0kada (he/him)* I know, but only for the things that upstream has a pin16:11:25
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
ooh now i'm curious, wanna swap configs?
Sure
16:11:51
@ckie:ckie.devmei 🌒&https://github.com/ckiee/nixfiles/blob/f6e022c654d9c3ccde1a7eb3d00efdcb122fb400/modules/doom-emacs/config/config.org#config16:11:52
@k0kada:matrix.orgk0kada (he/him)https://github.com/thiagokokada/nix-configs/blob/master/home-manager/emacs/doom-emacs/config.el16:13:15
@ckie:ckie.devmei 🌒&the evil-window binds seem useful16:13:50
@ckie:ckie.devmei 🌒&tempted to nab16:14:03
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
the evil-window binds seem useful
I have these from the time I used vim as primary editor
16:24:33

Show newer messages


Back to Room ListRoom Version: 9