refactor: collapsed emacs dir, moved envvar definition

This commit is contained in:
Infinidoge 2021-09-28 00:07:51 -04:00
parent f440704ca8
commit 45566a8bc8
2 changed files with 18 additions and 18 deletions

29
users/profiles/emacs.nix Normal file
View file

@ -0,0 +1,29 @@
{ config, pkgs, ... }: {
services.emacs.enable = true;
home = {
sessionPath = [
"${config.xdg.configHome}/emacs/bin"
];
packages = with pkgs; [
emacs
ripgrep
coreutils
cmake
fd
fzf
clang
mu
isync
tetex
jq
gnumake
shellcheck
nodejs
nodePackages.prettier
(aspellWithDicts (dicts: with dicts; [ en en-computers en-science ]))
];
};
}