Vendor emacs
Some checks failed
/ test (push) Failing after 14s

This commit is contained in:
Andrea Ciceri 2024-10-17 23:32:16 +02:00
parent 87b886bfb0
commit 911cc18e65
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
3 changed files with 186 additions and 4 deletions

View file

@ -1,10 +1,49 @@
{
lib,
age,
fleetFlake,
pkgs,
...
}:
let
emacs = fleetFlake.packages.${pkgs.system}.emacs;
in
{
ccrEmacs.enable = true;
home.sessionVariables.EDITOR = lib.mkForce "emacsclient";
systemd.user.services.emacs.Service.EnvironmentFile = age.secrets.chatgpt-token.path;
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
]);
}