Manage emacs on macOs

This commit is contained in:
Nathan McCarty 2022-04-22 14:59:06 -04:00
parent 4022f2efaa
commit 0ab10879f3
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,7 @@ in
}; };
# Startup service # Startup service
services.emacs = { services.emacs = {
enable = true; enable = pkgs.stdenv.isLinux;
client.enable = true; client.enable = true;
defaultEditor = true; defaultEditor = true;
# TODO remove when we enable doom-emacs again # TODO remove when we enable doom-emacs again

View File

@ -144,6 +144,7 @@
system = "x86_64-darwin"; system = "x86_64-darwin";
}; };
fenix = fenix.packages.x86_64-darwin; fenix = fenix.packages.x86_64-darwin;
doomEmacs = nix-doom-emacs.hmModule;
}; };
modules = baseModules ++ [ modules = baseModules ++ [
./darwin-modules/base.nix ./darwin-modules/base.nix
@ -152,6 +153,7 @@
./darwin-modules/gpg.nix ./darwin-modules/gpg.nix
./applications/devel-core.nix ./applications/devel-core.nix
./applications/devel-rust.nix ./applications/devel-rust.nix
./applications/emacs.nix
]; ];
}; };
}; };