more reorg
This commit is contained in:
parent
f3413ce790
commit
a058fa3c90
6 changed files with 251 additions and 230 deletions
41
modules/home/emacs.nix
Normal file
41
modules/home/emacs.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
emacs_pkg = ((pkgs.emacsPackagesFor pkgs.emacs29-pgtk).emacsWithPackages (
|
||||
epkgs: [
|
||||
epkgs.vterm
|
||||
epkgs.mu4e
|
||||
epkgs.sly
|
||||
epkgs.sly-quicklisp
|
||||
epkgs.geiser-racket
|
||||
epkgs.editorconfig
|
||||
epkgs.shfmt
|
||||
epkgs.nixpkgs-fmt
|
||||
epkgs.nixfmt
|
||||
epkgs.parinfer-rust-mode
|
||||
epkgs.manualPackages.tree-sitter-langs
|
||||
epkgs.manualPackages.treesit-grammars.with-all-grammars
|
||||
epkgs.pretty-sha-path
|
||||
epkgs.pdf-tools
|
||||
epkgs.all-the-icons
|
||||
]
|
||||
));
|
||||
in {
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = emacs_pkg;
|
||||
};
|
||||
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
package = emacs_pkg;
|
||||
socketActivation.enable = true;
|
||||
client = {
|
||||
enable = true;
|
||||
arguments = ["-n" "-r"];
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."emacs".enable = false;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue