cleanup and reformat
This commit is contained in:
parent
1e29764aee
commit
eb4c98a5c8
1 changed files with 23 additions and 17 deletions
|
@ -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 =
|
||||||
passthru = old.passthru // {
|
with pkgs;
|
||||||
treeSitter = true;
|
(
|
||||||
};
|
(emacsPackagesFor (
|
||||||
}))).emacsWithPackages (epkgs: with epkgs; [
|
emacs-pgtk.overrideAttrs (old: {
|
||||||
# treesitter bits
|
passthru = old.passthru // {
|
||||||
treesit-grammars.with-all-grammars
|
treeSitter = true;
|
||||||
|
};
|
||||||
vterm
|
})
|
||||||
pdf-tools
|
)).emacsWithPackages
|
||||||
]));
|
(
|
||||||
|
epkgs: with epkgs; [
|
||||||
|
treesit-grammars.with-all-grammars
|
||||||
|
vterm
|
||||||
|
pdf-tools
|
||||||
|
]
|
||||||
|
)
|
||||||
|
);
|
||||||
defaultEditor = lib.mkDefault true;
|
defaultEditor = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue