emacs: changes to make onChange script better

This commit is contained in:
Alexandre Cavalheiro 2024-08-01 10:57:05 -03:00
parent c693a00cd4
commit 2f43749a32
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -1,9 +1,12 @@
{ pkgs, lib, ... }:
{
programs.emacs.enable = true;
let
packagesNeeded = with pkgs; [
# CORE
git
emacs
ripgrep
home.packages = with pkgs; [
# Optional for DOOM
clang
coreutils
@ -16,22 +19,17 @@
pt_BR
]
)) # for flyspell
gnuplot # for plotting graphs
gnuplot_qt # for plotting graphs
languagetool # for grammar
ledger # for accounting and org-ledger
];
# Neatly place the configuration files for doom in their right place.
xdg.configFile."doom" =
let
# What DOOM needs to be able to install/sync.
packagesNeeded = with pkgs; [
git
emacs
ripgrep
gzip # Otherwise random errors occur from the onChange script
];
in
{
home.packages = packagesNeeded;
# Neatly place the configuration files for doom in their right place.
xdg.configFile."doom" = {
source = ./doom;
recursive = true;