!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

784 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay | For Doom Emacs: https://matrix.to/#/#doom-emacs:nixos.org176 Servers

Load older messages


SenderMessageTime
5 Dec 2024
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) joined the room.02:38:22
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Hi everyone!02:39:56
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)It's that time to of the year again to hyperfocus on Emacs configuration.02:40:26
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)I wanted to play arround with the CC flags in order to benchmark but I'm a bit lost on how to modify them for Emacs.02:41:48
@me:linj.techlinj
In reply to @srestegosaurio:tchncs.de
I wanted to play arround with the CC flags in order to benchmark but I'm a bit lost on how to modify them for Emacs.
https://wiki.nixos.org/wiki/C
16:39:21
6 Dec 2024
@ge24z009:matrix.orgge24z009 joined the room.02:26:14
@zororg:matrix.orgzororghttps://www.reddit.com/r/emacs/comments/1h6b8ww/comment/m0i4qv1/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button05:14:07
@zororg:matrix.orgzororgenvrc (direnv) is better, but still they made a elisp to have env var with eshell05:14:57
@ge24z009:matrix.orgge24z009Hey does anyone know how to expose other programs to Emacs such that, for example, tree-sitter grammars can be built / I am guaranteed to have the lsp-booster available to Emacs? Also does anyone here maintain a separate flake which build Emacs with everything it needs (without using Nix as Emacs package manager)?05:17:43
@ge24z009:matrix.orgge24z009 * Hey does anyone know how to expose other programs to Emacs such that, for example, tree-sitter grammars can be built / I am guaranteed to have the lsp-booster available to Emacs? Also does anyone here maintain a separate flake which build Emacs with everything it needs (without using Nix as Emacs package manager)? Ty for any advice :)05:18:08
@ge24z009:matrix.orgge24z009 * Hi everyone! Does anyone know how to expose other programs to Emacs such that, for example, tree-sitter grammars can be built or that I am guaranteed to have the lsp-booster available to Emacs? Also does anyone here maintain a separate flake which build Emacs with everything it needs (without using Nix as Emacs package manager)? Ty for any advice :)05:18:55
@ge24z009:matrix.orgge24z009 * Hi everyone! Does anyone know how to expose other programs to Emacs such that, for example, tree-sitter grammars can be built or that I am guaranteed to have the lsp-booster available to Emacs? (I don't want do Emacs package management using Nix, just providing Emacs with all it needs) Also does anyone here maintain a separate flake which build Emacs with everything it needs (without using Nix as Emacs package manager)? Ty for any advice :)05:19:37
@me:linj.techlinj
In reply to @ge24z009:matrix.org
Hi everyone!

Does anyone know how to expose other programs to Emacs such that, for example, tree-sitter grammars can be built or that I am guaranteed to have the lsp-booster available to Emacs?
(I don't want do Emacs package management using Nix, just providing Emacs with all it needs)

Also does anyone here maintain a separate flake which build Emacs with everything it needs (without using Nix as Emacs package manager)?

Ty for any advice :)
For your second question, nix develop nixpkgs#emacs is presumably enough.
05:29:42
8 Dec 2024
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @ge24z009:matrix.org
Hey does anyone know how to expose other programs to Emacs such that, for example, tree-sitter grammars can be built / I am guaranteed to have the lsp-booster available to Emacs?

Also does anyone here maintain a separate flake which build Emacs with everything it needs (without using Nix as Emacs package manager)?

Isn't there an extraPackages thingy on emacs-overlay?

16:26:23
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

I'm still picking up Emacs again but iirc there was such option available.

16:26:50
@acidbong:envs.net@acidbong:envs.net
In reply to @srestegosaurio:tchncs.de

Isn't there an extraPackages thingy on emacs-overlay?

it's for Emacs packages only
16:59:08
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @acidbong:envs.net
In reply to @srestegosaurio:tchncs.de

Isn't there an extraPackages thingy on emacs-overlay?

it's for Emacs packages only

Oh, my bad then.

17:01:08
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

@acidbong:envs.net If you need calling certaing packages you could try adding them as @pkgs.name in your config and then passing it trhough lib.substitueAll or some cursed thing like that.

17:03:44
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

It has just left me wondering what to do with mine since I expected to have the ability to include extra packages...

17:04:16
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

It has just left me wondering what to do myslef since I expected to have the ability to include extra packages...

17:04:58
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

@acidbong:envs.net If you need calling certaing packages you could try adding them as @pkgs.name@ in your config and then passing it trhough lib.substitueAll or some cursed thing like that.

17:05:23
@acidbong:envs.net@acidbong:envs.net
In reply to @ge24z009:matrix.org
Hi everyone!

Does anyone know how to expose other programs to Emacs such that, for example, tree-sitter grammars can be built or that I am guaranteed to have the lsp-booster available to Emacs?
(I don't want do Emacs package management using Nix, just providing Emacs with all it needs)

Also does anyone here maintain a separate flake which build Emacs with everything it needs (without using Nix as Emacs package manager)?

Ty for any advice :)
treesitter grammars are contained in emacsPackages.treesit-grammars.with-all-grammars (or you can select what exact grammars you want)
17:05:49
@acidbong:envs.net@acidbong:envs.net
In reply to @srestegosaurio:tchncs.de

@acidbong:envs.net If you need calling certaing packages you could try adding them as @pkgs.name@ in your config and then passing it trhough lib.substitueAll or some cursed thing like that.

i already do that (except ge24z009 asked, not me 😅)
17:06:33
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

Oh, sorry for the ping. I missed that.

17:11:58
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

Is there a way to declartively configure an earlyInit file?

17:13:07
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

I used to have a big config.org wich I would untagle into a single config.el that would be picked up by Nix and built as the config.

17:13:55
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

Now that I'm coming back I've decided to rewrite my config from scratch and I want to follow "best practices".

17:14:51
@acidbong:envs.net@acidbong:envs.netdefault.el is loaded before early-init.el anyway, so it can replace both17:30:58
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @acidbong:envs.net
default.el is loaded before early-init.el anyway, so it can replace both

So then can I place all my config there and, as long as I don't start by loading the universe, be okey?

20:35:47
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

I ask because looking for examples on how do people structure their config I came across the earlyInit and company.

20:36:41

Show newer messages


Back to Room ListRoom Version: 6