ChanServ changed the topic of #nixos-emacs to: https://github.com/nix-community/emacs-overlay | https://rms.sexy
rajivr has joined #nixos-emacs
neeasade has quit []
cole-h has joined #nixos-emacs
cole-h has quit [Ping timeout: 260 seconds]
payas has joined #nixos-emacs
<payas> Hi
<payas> I am new to emacs and IRC in general
<payas> and nixos too.
<payas> So I set up my system with flakes, and I added emacs-overlay as inputs to my configuration and flake inputs
<payas> I want to use emacsGcc with vterm, and use the emacs daemon
<payas> So I added following to my config:
<payas> services.emacs = with pkgs; { package = ((emacsPackagesNgGen emacsGcc).emacsWithPackages (epkgs: [ epkgs.vterm ])); };
<payas> However, when I try nixos-rebuild, it gives me following error:
<payas> error: --- EvalError ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
<payas> at: (303:28) in file: /nix/store/cig3zz9li4b3cv2pvh7f32glb2h7l4c2-source/lib/modules.nix
<payas> | ^
<payas> 302| value = builtins.addErrorContext (context name)
<payas> 303| (args.${name} or config._module.args.${name});
<payas> 304| }) requiredArgs);
<payas> attribute 'emacs-overlay' missing
<payas> Any help appreciated!
<selfsymmetric-mu> Weird…I just do nixpkgs.overlays = [(import (builtins.fetchTarball {url ="https://github.com/nix-community/emacs-overlay/archive/master.tar.gz";}))];
<antifuchs> payas: if you're using flakes, I made a `let` definition for it like so, `emacs-overlay = { pkgs, ... }: { nixpkgs.overlays = [ inputs.emacs-overlay.overlay ]; };` then I put emacs-overlay into the `modules=` list for my darwinConfigurations and nixosConfigurations outputs
<antifuchs> (adding the overlay in my modules' conditionalized configurations themselves resulted in an infinite recursion, so I have the flake definition reach in and put it there)
Edward- has joined #nixos-emacs
Edward- has quit [Ping timeout: 256 seconds]
payas has quit [Remote host closed the connection]
kfiz has quit [Quit: ZNC 1.8.1 - https://znc.in]
kfiz has joined #nixos-emacs
catern has quit [Ping timeout: 240 seconds]
ornxka has quit [Ping timeout: 240 seconds]
ornxka has joined #nixos-emacs
catern has joined #nixos-emacs
paranormal has joined #nixos-emacs
paranormal has quit [Ping timeout: 256 seconds]
neeasade has joined #nixos-emacs
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos-emacs