revert toaster

This commit is contained in:
Grisha Shipunov 2024-12-31 13:52:57 +00:00
parent 677abb7344
commit 50066a4d20
30 changed files with 1468 additions and 0 deletions

29
modules/emacs.nix Normal file
View file

@ -0,0 +1,29 @@
{ pkgs, inputs, lib, ... }:
{
environment.systemPackages = with pkgs; [
direnv
];
nixpkgs.overlays = [
inputs.emacs-overlay.overlay
];
services.emacs = {
install = true;
enable = false;
package = with pkgs; ((emacsPackagesFor (emacs-pgtk.overrideAttrs (old: {
passthru = old.passthru // {
treeSitter = true;
};
}))).emacsWithPackages (epkgs: with epkgs; [
# treesitter bits
treesit-grammars.with-all-grammars
vterm
pdf-tools
]));
defaultEditor = lib.mkDefault true;
};
}