From ffb90b9e874e4cca5ea03c4c9f242b5c7dba6d1c Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 21 Aug 2023 19:57:48 +0900 Subject: feat(home/development): add emacs --- home/profiles/development/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit 1.4.1