diff options
author | sefidel <contact@sefidel.net> | 2023-08-21 19:57:48 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-21 20:28:10 +0900 |
commit | ffb90b9e874e4cca5ea03c4c9f242b5c7dba6d1c (patch) | |
tree | a3bcb0bf51dcd3a8806f877d7876962fdc653cee | |
parent | 38e760863b5324a45d705c2a0c5876d87460c4eb (diff) | |
download | nixrc-ffb90b9e874e4cca5ea03c4c9f242b5c7dba6d1c.tar.gz nixrc-ffb90b9e874e4cca5ea03c4c9f242b5c7dba6d1c.zip |
feat(home/development): add emacs
-rw-r--r-- | home/profiles/development/default.nix | 14 |
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 |