!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
13 Jan 2025
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)

what is this?

I have this:

    emacs-overlay = {
      url = "github:nix-community/emacs-overlay";
      inputs.nixpkgs.follows = "nixpkgs";
    };
17:54:31
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)And I couldn't figure out how to add the overlay?17:54:51
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @nakibrayane:matrix.org

what is this?

I have this:

    emacs-overlay = {
      url = "github:nix-community/emacs-overlay";
      inputs.nixpkgs.follows = "nixpkgs";
    };
If that's in the inputs section of your flake.nix it's right.
17:55:37
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @srestegosaurio:tchncs.de
If that's in the inputs section of your flake.nix it's right.
Now for enabling the overlay you should add it to: https://search.nixos.org/options?channel=unstable&show=nixpkgs.overlays&from=0&size=50&sort=relevance&type=packages&query=overlays
17:56:44
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)

But then how do I access the overlay?

may be something like this:

nix.overlays = [
  inputs.emacs-overlay.overlay
]:

Is this right?
17:57:02
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب) *

But then how do I access the overlay?

may be something like this:

nix.overlays = [
  inputs.emacs-overlay.overlay
]:

Is this right?

17:57:11
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @nakibrayane:matrix.org

But then how do I access the overlay?

may be something like this:

nix.overlays = [
  inputs.emacs-overlay.overlay
]:

Is this right?

It looks good to me.
17:57:39
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب) *

But then how do I access the overlay?

may be something like this:

nix.overlays = [
  inputs.emacs-overlay.overlay
]:

Is this right?

17:57:40
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)

and then how do I install emacs-pgk with native-comp?

programs.emacs = {
  enable = true:
  package = gccEmacsPgtk;
}
17:58:37
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب) *

and then how do I install emacs-pgk with native-comp?

programs.emacs = {
  enable = true:
  package = gccEmacsPgtk;
}
17:58:43
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @nakibrayane:matrix.org

and then how do I install emacs-pgk with native-comp?

programs.emacs = {
  enable = true:
  package = gccEmacsPgtk;
}
I used to do something different tho I believe that it was enabled by default, at least in the git build from nix-overlay.
18:00:48
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Give me a sec to check.18:00:54
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) @nakibrayane:matrix.org see https://github.com/nix-community/emacs-overlay/issues/441 18:03:28
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)So, I don't need to overlay?18:05:07
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)* So, I don't need the overlay?18:05:18
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)The overlay serves a different purpose.18:05:26
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Imho improves the emacs experience in NixOS.18:05:53
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)How? I don't see any utility of the overlay other then installing git/unstable version of emacs.18:06:44
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)You get access to git builds, packages are updated faster, and it also provides some nice functions for Emacs configuration. It's not just an overlay.18:07:01
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @srestegosaurio:tchncs.de
You get access to git builds, packages are updated faster, and it also provides some nice functions for Emacs configuration. It's not just an overlay.
https://github.com/nix-community/emacs-overlay?tab=readme-ov-file#extra-library-functionality
18:07:27
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)I am planning on using doom emacs, it's already reproducible, Could I benefit of any of these features?18:07:47
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)* I am planning on using doom emacs, it's already reproducible, Could I benefit from any of these features?18:08:36
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @nakibrayane:matrix.org
I am planning on using doom emacs, it's already reproducible, Could I benefit of any of these features?
I'm not that well versed on Emacs and Nix to properly answer that question. Sorry. 😅
18:08:37
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب) srestegosaurio (on tchncs.de): Thank you so much for you help :) 18:09:47
@goibhniu:matrix.orggoibhniu changed their display name from goibhniu to goibhniu-test.19:16:37
@goibhniu:matrix.orggoibhniu changed their display name from goibhniu-test to goibhniu.19:17:34
14 Jan 2025
@johnhamelink:matrix.orgjohnhamelinkHey, I've been having problems getting services.firefox (librewolf in my case, but I have the same issue with vanilla FF) to communicate with Emacs (installed with emacs-overlay) via org-protocol. When I use xdg-open on the URL that the browser calls, it works as expected, but the browser's call triggers a new Emacs frame but the URI doesn't seem to be received. Does anyone have any insight into what might be going on? It kinda feels like a scoping issue10:48:38
@johnhamelink:matrix.orgjohnhamelinkHey, I've been having problems getting services.firefox (librewolf in my case, but I have the same issue with vanilla FF) to communicate with Emacs (installed with emacs-overlay) via org-protocol. When I use xdg-open on the org-protocol URI that the browser generates, it works as expected, but the browser's call to the same URI triggers a new Emacs frame but the org-protocol URI doesn't seem to be handled - it's just a standard emacsclient frame. Does anyone have any insight into what might be going on? It kinda feels like a scoping issue perhaps?10:50:21
@johnhamelink:matrix.orgjohnhamelinkHey, I've been having problems getting services.firefox (librewolf in my case, but I have the same issue with vanilla FF) to communicate with Emacs (installed with emacs-overlay) via org-protocol. When I use xdg-open on the org-protocol URI that the browser generates, it works as expected, but the browser's call to the same URI triggers a new Emacs frame but the org-protocol URI doesn't seem to be handled - it's just a standard emacsclient frame. Does anyone have any insight into what might be going on? It kinda feels like a scoping issue perhaps? I've written about the issue in more detail here: https://discourse.nixos.org/t/firefox-librewolf-behaves-differently-when-opening-a-uri-compared-with-xdg-query/5876010:51:53
@julienmalka:matrix.orgJulienIs anyone here using nix-straight without doom-emacs to build their vanilla emacs config ? If yes, I am interested to see how it can be done15:52:05

Show newer messages


Back to Room ListRoom Version: 6