!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

You have reached the beginning of time (for this room).


SenderMessageTime
13 Nov 2023
@oscarvarto:matrix.org@oscarvarto:matrix.org joined the room.03:44:07
@oscarvarto:matrix.org@oscarvarto:matrix.org

Hi! I'm trying to follow https://tinyurl.com/ymc2tyvx (reference guide for nix-doom-emacs with flakes -- using Nixos and Home Manager), but I'm having problems.

This is my flake.nix: https://pastebin.com/FiXpD73f
This is the end of the error I get when I issue sudo nixos-rebuild switch --flake .#ovt --show-trace:

       … while calling 'dischargeProperties'

         at /nix/store/kcmipm57ph9bpzz8bs80iiijiwbyzwy3-source/lib/modules.nix:894:25:

          893|   */
          894|   dischargeProperties = def:
             |                         ^
          895|     if def._type or "" == "merge" then

       error: attribute 'oscarvarto' missing

       at /nix/store/3hx26jnqjpxvrgp450z90r84z7gwi8kk-source/nixos/common.nix:33:27:

           32|
           33|           home.username = config.users.users.${name}.name;
             |                           ^
           34|           home.homeDirectory = config.users.users.${name}.home;

What am I missing? What can be wrong?

04:32:11
@patka_123:matrix.org@patka_123:matrix.org left the room.05:37:42
@oscarvarto:matrix.org@oscarvarto:matrix.org

Hi! I'm trying to follow https://github.com/nix-community/nix-doom-emacs/blob/master/docs/reference.md . I am getting an error

error: getting status of '/nix/store/znanns7hn6i11y48mli99i68mq7q1hhd-source/doom.d': No such file or directory

If I use an absolute path, then nix complains with:

error: access to absolute path '/home/oscarvarto/.config/doom' is forbidden in pure eval mode (use '--impure' to override)

How can I configure doomPrivateDir in a correct way (and put the contents of my configuration files there)?

17:29:15
@oscarvarto:matrix.org@oscarvarto:matrix.org
In reply to @oscarvarto:matrix.org

Hi! I'm trying to follow https://github.com/nix-community/nix-doom-emacs/blob/master/docs/reference.md . I am getting an error

error: getting status of '/nix/store/znanns7hn6i11y48mli99i68mq7q1hhd-source/doom.d': No such file or directory

If I use an absolute path, then nix complains with:

error: access to absolute path '/home/oscarvarto/.config/doom' is forbidden in pure eval mode (use '--impure' to override)

How can I configure doomPrivateDir in a correct way (and put the contents of my configuration files there)?

Thanks in advance. Someone in Discord gave me the solution!
17:56:38
14 Nov 2023
@mjolnir:nixos.orgNixOS Moderation Bot banned @srid:matrix.org@srid:matrix.org (<no reason supplied>).14:00:31
15 Nov 2023
@oscarvarto:matrix.org@oscarvarto:matrix.orgHi! I have a question regarding options from Home Manager for emacs and those provided by nix-doom-emacs derivation. https://github.com/nix-community/nix-doom-emacs/issues/555 Any hints?15:36:27
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.15:54:54
@grahamc:nixos.org@grahamc:nixos.org left the room.15:54:55
@oscarvarto:matrix.org@oscarvarto:matrix.org * Hi! I have a question regarding options from Home Manager for emacs and those provided by nix-doom-emacs derivation. https://github.com/nix-community/nix-doom-emacs/issues/555 Any hints? (currently experimenting to see if it works; waiting for the build to finish).17:05:56
@qyliss:fairydust.space@qyliss:fairydust.space joined the room.17:20:21

Show newer messages


Back to Room ListRoom Version: 9