aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-02-23 22:09:50 +0100
committerAdrian Kummerlaender2020-02-23 22:09:50 +0100
commit4c3fc870eb387a50e61b2d7b6317a785463cfc03 (patch)
treedd8a449c2ad817c8e3a40fa6dc6c132ebf698df1
parentc5d5d337bddfbe04848ea16af9ab72e091d178f7 (diff)
downloadnixos_home-4c3fc870eb387a50e61b2d7b6317a785463cfc03.tar
nixos_home-4c3fc870eb387a50e61b2d7b6317a785463cfc03.tar.gz
nixos_home-4c3fc870eb387a50e61b2d7b6317a785463cfc03.tar.bz2
nixos_home-4c3fc870eb387a50e61b2d7b6317a785463cfc03.tar.lz
nixos_home-4c3fc870eb387a50e61b2d7b6317a785463cfc03.tar.xz
nixos_home-4c3fc870eb387a50e61b2d7b6317a785463cfc03.tar.zst
nixos_home-4c3fc870eb387a50e61b2d7b6317a785463cfc03.zip
Add basic Emacs+Evil+Orgmode config
-rw-r--r--gui/default.nix1
-rw-r--r--gui/emacs.nix18
-rw-r--r--tasks/default.nix2
3 files changed, 20 insertions, 1 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
+ ]));
+ };
+}
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 (