35 lines
598 B
Nix
35 lines
598 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
direnv
|
|
];
|
|
|
|
services.emacs = {
|
|
install = true;
|
|
enable = false;
|
|
package =
|
|
with pkgs;
|
|
(
|
|
(emacsPackagesFor (
|
|
emacs-pgtk.overrideAttrs (old: {
|
|
passthru = old.passthru // {
|
|
treeSitter = true;
|
|
};
|
|
})
|
|
)).emacsWithPackages
|
|
(
|
|
epkgs: with epkgs; [
|
|
treesit-grammars.with-all-grammars
|
|
vterm
|
|
pdf-tools
|
|
]
|
|
)
|
|
);
|
|
defaultEditor = lib.mkDefault true;
|
|
};
|
|
}
|