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