about summary refs log tree commit diff
path: root/home/profiles/development
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/development')
-rw-r--r--home/profiles/development/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/home/profiles/development/default.nix b/home/profiles/development/default.nix
index 0e3c049..c47040e 100644
--- a/home/profiles/development/default.nix
+++ b/home/profiles/development/default.nix
@@ -4,6 +4,10 @@ let
   cfg = config.profiles.development;
 in
 {
+  imports = [
+    ../../modules/programs/zshell
+  ];
+
   options.profiles.development = {
     enable = lib.mkEnableOption
       "A profile that enables the system to be used for developing programs";
@@ -177,6 +181,16 @@ in
       };
     };
 
+    services.emacs = lib.mkIf pkgs.stdenv.isLinux {
+      enable = true;
+      client.enable = true;
+      socketActivation.enable = true;
+    };
+    programs.emacs.enable = true;
+    programs.zshell.aliases = {
+      e = "emacsclient -ta emacs";
+    };
+
     home.packages = [
       pkgs.bfg-repo-cleaner
       pkgs.diffoscopeMinimal