Nix + Doom Emacs | 209 Members | |
| Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs | 44 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Dec 2022 | ||
| i'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 | |
| i 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 trailblazing | 21:39:12 | |
| https://chrishayward.xyz/dotfiles/ | 21:39:14 | |
| 14 Dec 2022 | ||
| 10:54:25 | ||
| 11:31:09 | ||
| 11:33:14 | ||
| 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 | 20:10:17 | |
| 20:10:46 | |
| 20:25:21 | ||
In reply to @gavinrogers:matrix.orgI'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 | |
| * 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 | |
| yes i got it from there, i'll paste my config | 21:33:11 | |
| 21:34:17 | |
| 21:39:37 | |
| Try this in lines 21-26. | 21:40:18 | |
Note the { ... }: bit. | 21:40:33 | |
| oh um i think i might have fixed that part | 21:42:29 | |
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 | |
| ya it was actually deleting the ellipses which made that other error go away | 21:44:40 | |
| You'll probably want stateVersion inside of your home manager configuration attribute set. | 21:50:55 | |
| ya my install of home manager isn't going great i might have to join that room and ask some questions | 21:55:31 | |
Looks like the example in the README is broken. When I dump the one in the comment at https://github.com/nix-community/nix-doom-emacs/blob/master/flake.nix#L3 in a fresh flake.nix in a new directory and run nix flake show inside, it parses successfully at least. See also https://gist.github.com/gefla/cff9bc5c12d28da865e2134e2c1a8e97 | 22:17:23 | |
| Need to go AFK now, good luck! | 22:17:37 | |
| Gerd Flaig: thanks so much | 22:21:04 | |
| 15 Dec 2022 | ||
Download image.png | 00:50:11 | |
Well, hello again! I'm starting to have some time again which is why I'm prograrmming some hobby projects lately, mainly using Idris 2, and I thought to boot up Doom Emacs (i don't yet have enough free time to start working on the documentation PR again unfortrunately, though i see you're making some progress, though somewhat slow. keep going!). For whatever reason, the pictured error below appears when running idris2-mode. But... I do depend on prop-menu in my configuration:```nix doom-emacs = { enable = true; doomPrivateDir = ./doom; extraPackages = [ pkgs.mu ]; emacsPackage = pkgs.emacsPgtkNativeComp; emacsPackagesOverlay = self: super: { idris2-mode = self.trivialBuild { pname = "idris2-mode"; ename = "idris2-mode"; version = "0.0.0"; buildInputs = [ self.prop-menu ]; src = pkgs.fetchFromGitHub { owner = "idris-community"; repo = "idris2-mode"; rev = "4a3f9cdb1a155da59824e39f0ac78ccf72f2ca97"; sha256 = "sha256-TxsGaG2fBRWWP9aas59kiNnUVD4ZdNlwwaFbM4+n81c="; }; }; }; }; ``` any idea what's going wrong? | 00:50:11 | |
| hm. my client's view of that codeblock is really bad. i can only hope that it looks better on other clients | 00:50:36 | |
| * Well, hello again! I'm starting to have some time again which is why I'm prograrmming some hobby projects lately, mainly using Idris 2, and I thought to boot up Doom Emacs (i don't yet have enough free time to start working on the documentation PR again unfortrunately, though i see you're making some progress, though somewhat slow. keep going!). For whatever reason, the pictured error below appears when running any idea what's going wrong? | 00:50:45 | |
| I can remember that this used to work, but after updating my flake inputs and such, this appears to fail again | 00:52:19 | |
| * Well, hello again! I'm starting to have some time again which is why I'm prograrmming some hobby projects lately, mainly using Idris 2, and I thought to boot up Doom Emacs (i don't yet have enough free time to start working on the documentation PR again unfortrunately, though i see you're making some progress, though somewhat slow. keep going!). For whatever reason, the pictured error below appears when running any idea what's going wrong? | 00:52:42 | |