2 Dec 2022 |
| Gerd Flaig changed their display name from Gerd Flaig to YveDeLarc. | 11:37:50 |
| Gerd Flaig changed their display name from YveDeLarc to Gerd Flaig. | 11:44:01 |
| k0kada (he/him) changed their display name from k0kada to k0kada (he/him). | 15:28:04 |
3 Dec 2022 |
| haam joined the room. | 18:55:46 |
5 Dec 2022 |
| ribosomerocker changed their display name from mon_aaraj to ribosomerocker. | 22:45:04 |
13 Dec 2022 |
| Gavin R joined the room. | 20:42:07 |
Gavin R | 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 |
Gavin R | 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 |
Gavin R | https://chrishayward.xyz/dotfiles/ | 21:39:14 |
14 Dec 2022 |
| Herman changed their display name from NAHFE to Herman. | 10:54:25 |
| Herman changed their display name from Herman to NAHFE. | 11:31:09 |
| Herman changed their display name from NAHFE to Herman. | 11:33:14 |
Gavin R | 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 |
Gavin 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 joined the room. | 20:25:21 |
Gerd 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 |
Gerd 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 |
Gavin R | yes i got it from there, i'll paste my config | 21:33:11 |
Gavin 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 |
Gerd Flaig | { ... }: {
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
};
}
| 21:39:37 |
Gerd Flaig | Try this in lines 21-26. | 21:40:18 |
Gerd Flaig | Note the { ... }: bit. | 21:40:33 |
Gavin R | oh um i think i might have fixed that part | 21:42:29 |
Gavin 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 |
Gavin R | ya it was actually deleting the ellipses which made that other error go away | 21:44:40 |
Gerd Flaig | You'll probably want stateVersion inside of your home manager configuration attribute set. | 21:50:55 |
Gavin R | ya my install of home manager isn't going great i might have to join that room and ask some questions | 21:55:31 |
Gerd Flaig | 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 |
Gerd Flaig | Need to go AFK now, good luck! | 22:17:37 |
Gavin R | Gerd Flaig: thanks so much | 22:21:04 |