!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
27 Nov 2022
@gefla:matrix.orgGerd Flaig joined the room.14:35:59
29 Nov 2022
@minutiae:leftshift.xyzadam joined the room.14:02:11
30 Nov 2022
@maxhero_:matrix.orgMarcelo Amancio de Lima SantosI have nix-doom-emacs working just fine on my laptop, but when I try to use it on my desktop I'm getting some errors about read-only file systems: Here is one example of those errors: https://pastebin.com/cXzie7qH20:42:55
@maxhero_:matrix.orgMarcelo Amancio de Lima Santos * Hello I have nix-doom-emacs working just fine on my laptop, but when I try to use it on my desktop I'm getting some errors about read-only file systems: Here is one example of those errors: https://pastebin.com/cXzie7qH20:43:01
@maxhero_:matrix.orgMarcelo Amancio de Lima SantosThe strange thing is, it works on my laptop and they use the same piece of config20:43:51
2 Dec 2022
@gefla:matrix.orgGerd Flaig changed their display name from Gerd Flaig to YveDeLarc.11:37:50
@gefla:matrix.orgGerd Flaig changed their display name from YveDeLarc to Gerd Flaig.11:44:01
@k0kada:matrix.orgk0kada (he/him) changed their display name from k0kada to k0kada (he/him).15:28:04
3 Dec 2022
@haam:matrix.orghaam joined the room.18:55:46
5 Dec 2022
@mon:tchncs.deribosomerocker changed their display name from mon_aaraj to ribosomerocker.22:45:04
13 Dec 2022
@gavinrogers:matrix.orgGavin R joined the room.20:42:07
@gavinrogers:matrix.orgGavin Ri'm just getting started with the repo and it seems like there are two options (according to the README): using home-manager or as a flake. is the flake method the better option of the two?21:17:09
@gavinrogers:matrix.orgGavin Ri kinda like chris hayward's nixos setup, but i've only ever used emacs totally vim'ified (spacemacs for quite a while and then some doom and others) and i don't know if i'm the right person to try to do a bunch of trailblazing21:39:12
@gavinrogers:matrix.orgGavin Rhttps://chrishayward.xyz/dotfiles/21:39:14
14 Dec 2022
@nahfe:nahfe.xyzHerman changed their display name from NAHFE to Herman.10:54:25
@nahfe:nahfe.xyzHerman changed their display name from Herman to NAHFE.11:31:09
@nahfe:nahfe.xyzHerman changed their display name from NAHFE to Herman.11:33:14
@gavinrogers:matrix.orgGavin Rok i got a working flake.nix in my /etc/nixos but when i put in the example in the README i get an error20:10:17
@gavinrogers:matrix.orgGavin R
error: syntax error, unexpected '{', expecting '.' or '='

       at /nix/store/2iq6nz6z8azb2b3zd4dhvrxgpg1d44sf-source/flake.nix:20:13:

           19|             nix-doom-emacs.hmModule
           20|             { ... }: {
             |             ^
           21|               programs.doom-emacs = {
20:10:46
@mexisme:matrix.orgmexisme joined the room.20:25:21
@gefla:matrix.orgGerd Flaig
In reply to @gavinrogers:matrix.org
ok i got a working flake.nix in my /etc/nixos but when i put in the example in the README i get an error
I'm guessing you're referring to https://github.com/nix-community/nix-doom-emacs and part of the example for lost while copying. Specifically, the example surrounds the bits quoted in the error above with a list [..] argument to lib.mkMerge that then ends up in home-manager.users.exampleUser. In what context do you use the expression? Consider posting a link to your complete config.
21:32:30
@gefla:matrix.orgGerd Flaig* I'm guessing you're referring to https://github.com/nix-community/nix-doom-emacs and part of the example got lost while copying. Specifically, the example surrounds the bits quoted in the error above with a list [..] argument to lib.mkMerge that then ends up in home-manager.users.exampleUser. In what context do you use the expression? Consider posting a link to your complete config.21:32:54
@gavinrogers:matrix.orgGavin Ryes i got it from there, i'll paste my config21:33:11
@gavinrogers:matrix.orgGavin R
{
  inputs = {
    home-manager.url = "github:nix-community/home-manager";
    nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
  };
  outputs = {
    self,
    nixpkgs,
    home-manager,
    nix-doom-emacs,
    ...
  }:
 {
    nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        home-manager.nixosModules.home-manager
        ({
          home-manager.users.chran = nixpkgs.lib.mkMerge [
            nix-doom-emacs.hmModule
              {
              programs.doom-emacs = {
                enable = true;
                doomPrivateDir = ./doom.d;
              };
            }
          ];
        })
      ./configuration.nix
      ];
    };
   home-manager.stateVersion = "22.11";
  };
}
21:34:17
@gefla:matrix.orgGerd Flaig
            { ... }: {
              programs.doom-emacs = {
                enable = true;
                doomPrivateDir = ./doom.d;
              };
            }
21:39:37
@gefla:matrix.orgGerd FlaigTry this in lines 21-26.21:40:18
@gefla:matrix.orgGerd Flaig Note the { ... }: bit. 21:40:33
@gavinrogers:matrix.orgGavin Roh um i think i might have fixed that part21:42:29
@gavinrogers:matrix.orgGavin R the error i'm getting now is building the system configuration... error: The option `home-manager.users.chran.home.stateVersion' is used but not defined. 21:42:52
@gavinrogers:matrix.orgGavin Rya it was actually deleting the ellipses which made that other error go away21:44:40

Show newer messages


Back to Room ListRoom Version: 9