about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix
index 0553c8cf4e4c..96f4ac9ac2c5 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -26,8 +26,11 @@
 
   # Configure emacs:
   # (actually, that's a lie, this only installs emacs!)
-  services.emacs.install = true;
-  services.emacs.defaultEditor = true;
+  services.emacs = {
+    install = true;
+    defaultEditor = true;
+    package = import ./emacs.nix { inherit pkgs; };
+  };
 
   # Enable GNOME keyring (required for Evolution)
   services.gnome3.gnome-keyring.enable = true;