aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/default.nix1
-rw-r--r--gui/emacs.nix18
2 files changed, 19 insertions, 0 deletions
diff --git a/gui/default.nix b/gui/default.nix
index baf68bb..971afd1 100644
--- a/gui/default.nix
+++ b/gui/default.nix
@@ -8,6 +8,7 @@ in {
./xmonad.nix
./kitty.nix
./vim.nix
+ ./emacs.nix
./zathura.nix
# applications grouped by purpose
./apps/file.nix
diff --git a/gui/emacs.nix b/gui/emacs.nix
new file mode 100644
index 0000000..2dfdde7
--- /dev/null
+++ b/gui/emacs.nix
@@ -0,0 +1,18 @@
+{ config, pkgs, ... }:
+
+{
+ programs.emacs = {
+ enable = true;
+
+ extraPackages = (epkgs: (with epkgs.melpaStablePackages; [
+ use-package
+ leuven-theme
+ ]) ++ (with epkgs.melpaPackages; [
+ evil
+ evil-leader
+ evil-org
+ ]) ++ (with epkgs.elpaPackages; [
+ org
+ ]));
+ };
+}