emacs: use emacs service on linux
Alan Pearce alan@alanpearce.eu
Sat, 18 May 2024 17:58:08 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
jump to
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -29,6 +29,11 @@ programs.git.extraConfig."diff.elisp" = { xfuncname = "^(((;;;+ )|\\(|([ \t]+\\(((cl-|el-patch-)?def(un|var|macro|method|custom)|gb/))).*)$"; }; + services.emacs = lib.mkIf stdenv.isLinux { + enable = true; + package = config.programs.emacs.finalPackage; + client.enable = true; + }; programs.emacs = { enable = true; package = lib.mkDefault (pkgs.emacs29.override { withGTK3 = true; });