!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
1 Sep 2022
@k0kada:matrix.orgk0kada (he/him)Ohhh I see22:32:19
@k0kada:matrix.orgk0kada (he/him)nvm them22:32:23
@ckie:ckie.devckie (they/them)feels a bit hacky 22:32:27
@k0kada:matrix.orgk0kada (he/him)Yeah22:32:33
@ckie:ckie.devckie (they/them)but it's convenient! and i didn't write it!22:32:37
@k0kada:matrix.orgk0kada (he/him) Maybe the CI could just have its own shell.nix 22:32:42
@ckie:ckie.devckie (they/them)then it won't follow the flake.lock22:32:57
@k0kada:matrix.orgk0kada (he/him)

i didn't write it!
This is a very good argument actually

22:33:04
@k0kada:matrix.orgk0kada (he/him) *

i didn't write it!

This is a very good argument actually

22:33:16
@k0kada:matrix.orgk0kada (he/him)

then it won't follow the flake.lock

There is a few ways to hack this though :P

22:33:29
@ckie:ckie.devckie (they/them)do not dare utter the name of the edolstra repo22:35:24
@ckie:ckie.devckie (they/them):P22:35:29
@k0kada:matrix.orgk0kada (he/him)This is one way, not the only one though22:35:46
@k0kada:matrix.orgk0kada (he/him)Before knowing the "repo-that-should-not-be-named", I wrote my own flake-compat function by myself :P22:36:21
@k0kada:matrix.orgk0kada (he/him)Not because I wanted to learn or anything, I just didn't know the repo existed lol22:36:42
2 Sep 2022
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org

BTW, emacs.package is set by nix-doom-emacs itself: https://github.com/nix-community/nix-doom-emacs/blob/master/modules/home-manager.nix#L101

So no need to set it manually

ah, nice. so this documentation in the linked picture is wrong?
05:09:19
@mon:tchncs.deribosomerockerRedacted or Malformed Event05:09:20
@mon:tchncs.deribosomerocker welp, matrix doesn't want to send the picture, so here's a link instead: https://github.com/nix-community/nix-doom-emacs#using-the-daemon 05:10:11
@mon:tchncs.deribosomerocker so because of the comment use programs.emacs.package instead if using home-manager, i put that in my home-manager 05:10:36
@mon:tchncs.deribosomerocker and since you guys don't mention what sort of doom emacs i needed to mention, i found it only ""compied"" with inputs.nix-doom-emacs 05:11:13
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
And package was renamed to packages a few nix versions ago
and yeah, it was! that really confused me for a second, plus how inputs.nix-doom-emacs.packages.${pkgs.system} was ` function somehow, when it's commonly a set
05:34:00
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
And package was renamed to packages a few nix versions ago
* and yeah, it was! that really confused me for a second, plus how inputs.nix-doom-emacs.packages.${pkgs.system} was a function somehow, when it's commonly a set
05:43:08
@mon:tchncs.deribosomerocker
In reply to @k0kada:matrix.org
And package was renamed to packages a few nix versions ago
and yeah, it was! that really confused me for a second, plus how inputs.nix-doom-emacs.packages.${pkgs.system} was a function somehow, when it's commonly a set
07:26:14
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
ah, nice. so this documentation in the linked picture is wrong?
It is not wrong, you are confusing programs.emacs vs service.emacs
08:29:37
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
so because of the comment use programs.emacs.package instead if using home-manager, i put that in my home-manager
What it means is that you should set service.emacs.package = config.programs.emacs.package
08:30:53
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
so because of the comment use programs.emacs.package instead if using home-manager, i put that in my home-manager
* What it means is that you should set service.emacs.package = config.programs.emacs.package
08:31:00
@k0kada:matrix.orgk0kada (he/him) * What it means is that you should set service.emacs.package = config.programs.emacs.package if using home-manager, because what I said above (config.programs.emacs.package is already set-up by HM module itself) 08:31:29
@k0kada:matrix.orgk0kada (he/him)The docs are out-of-date though, because the HM module do this automatically: https://github.com/nix-community/nix-doom-emacs/blob/master/modules/home-manager.nix#L107-L11208:32:09
@k0kada:matrix.orgk0kada (he/him)So this part of the documentation can be removed08:32:16
@k0kada:matrix.orgk0kada (he/him) But actually it can not be removed, because it is referring for any of the multiple ways to set the service.emacs (there is one for NixOS, HM and Nix-darwin) 08:56:28

Show newer messages


Back to Room ListRoom Version: 9