nixfleet/hmModules/emacs/default.nix
Andrea Ciceri 911cc18e65
Some checks failed
/ test (push) Failing after 14s
Vendor emacs
2024-10-17 23:32:16 +02:00

49 lines
879 B
Nix

{
lib,
fleetFlake,
pkgs,
...
}:
let
emacs = fleetFlake.packages.${pkgs.system}.emacs;
in
{
home.sessionVariables.EDITOR = lib.mkForce "emacsclient -c";
programs.emacs = {
enable = true;
package = emacs;
};
services.emacs = {
enable = true;
client.enable = true;
defaultEditor = true;
socketActivation.enable = false;
startWithUserSession = true;
package = emacs;
};
home.packages =
with pkgs;
[
binutils
delta
(ripgrep.override { withPCRE2 = true; })
gnutls
fd
hunspell
python3
imagemagick
ghostscript_headless
mupdf-headless
poppler_utils
ffmpegthumbnailer
mediainfo
unzipNLS
nodejs_20
pkgs.qadwaitadecorations
pkgs.kdePackages.qtwayland
]
++ (with hunspellDicts; [
en_US-large
it_IT
]);
}