From 4c3fc870eb387a50e61b2d7b6317a785463cfc03 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 23 Feb 2020 22:09:50 +0100 Subject: Add basic Emacs+Evil+Orgmode config --- gui/default.nix | 1 + gui/emacs.nix | 18 ++++++++++++++++++ tasks/default.nix | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 gui/emacs.nix 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 + ])); + }; +} diff --git a/tasks/default.nix b/tasks/default.nix index 23ae5fc..db337d8 100644 --- a/tasks/default.nix +++ b/tasks/default.nix @@ -112,7 +112,7 @@ in { }; pymath_jupyter = { - description = "Python @ Jupyter Lab"; + description = "Python for mathematics @ Jupyter Lab"; directory = "~/"; type = "jupyter-lab"; environment = mkJupyterEnv ( -- cgit v1.2.3