Skip to content

Commit

Permalink
nix: update emacs config
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdallo committed Feb 17, 2024
1 parent 917c51a commit a20c588
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions nix/home-manager/programs/emacs.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{ config, lib, pkgs, ... }:

let
emacsPackage = (pkgs.emacsPackagesFor pkgs.emacs-unstable).emacsWithPackages
(epkgs: [ epkgs.vterm ]);
in {

{
programs.emacs = {
enable = true;
package = emacsPackage;
package = pkgs.emacs-unstable;
extraPackages = (epkgs: [ epkgs.vterm ]);
};
services.emacs = with pkgs; {
enable = true;
package = emacsPackage;
client.enable = true;
};
}

0 comments on commit a20c588

Please sign in to comment.