cleanup and reformat

This commit is contained in:
Grisha Shipunov 2025-04-01 11:56:56 +02:00
parent 1e29764aee
commit eb4c98a5c8

View file

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