2022-05-25 19:21:31 -04:00
|
|
|
{ config, pkgs, doomEmacs, ... }:
|
2021-12-20 13:37:26 -05:00
|
|
|
{
|
|
|
|
# Install emacs
|
2022-06-13 23:23:50 -04:00
|
|
|
environment.systemPackages = with pkgs; [
|
2022-05-02 20:13:18 -04:00
|
|
|
# For markdown rendering
|
2022-06-13 23:23:50 -04:00
|
|
|
python39Packages.grip
|
2022-05-03 05:05:12 -04:00
|
|
|
# For graph generation
|
2022-06-13 23:23:50 -04:00
|
|
|
graphviz
|
2022-06-29 06:46:55 -04:00
|
|
|
sqlite
|
2021-12-20 13:37:26 -05:00
|
|
|
];
|
2022-04-21 15:18:47 -04:00
|
|
|
|
|
|
|
# Utilize home-manager
|
|
|
|
home-manager.users.nathan = {
|
|
|
|
# Nixify doomEmacs
|
2022-05-25 04:48:14 -04:00
|
|
|
# TODO:Reenable, currently off because of ghub
|
2022-04-21 15:18:47 -04:00
|
|
|
imports = [ doomEmacs ];
|
|
|
|
programs.doom-emacs = {
|
2022-06-13 13:28:10 -04:00
|
|
|
enable = true;
|
2022-04-21 15:18:47 -04:00
|
|
|
doomPrivateDir = ../doom.d;
|
2022-06-13 23:23:50 -04:00
|
|
|
emacsPackage = pkgs.emacsPgtkNativeComp;
|
2022-04-21 15:18:47 -04:00
|
|
|
};
|
|
|
|
# Startup service
|
|
|
|
services.emacs = {
|
2022-04-22 14:59:06 -04:00
|
|
|
enable = pkgs.stdenv.isLinux;
|
2022-04-21 15:18:47 -04:00
|
|
|
client.enable = true;
|
|
|
|
defaultEditor = true;
|
2022-05-25 14:25:39 -04:00
|
|
|
};
|
2022-04-21 15:18:47 -04:00
|
|
|
};
|
2021-12-20 13:37:26 -05:00
|
|
|
}
|