diff options
author | Alan Pearce | 2024-05-18 17:58:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-18 19:04:50 +0200 |
commit | b449f3f3763b6212d15ebe179da86f827ee29c0e (patch) | |
tree | 63f93ba6270746253b93948cd146d3934369d8c7 /user | |
parent | 3ba787dc4eefc243aa18f8bdc7859bc2d79957af (diff) | |
download | nixfiles-b449f3f3763b6212d15ebe179da86f827ee29c0e.tar.lz nixfiles-b449f3f3763b6212d15ebe179da86f827ee29c0e.tar.zst nixfiles-b449f3f3763b6212d15ebe179da86f827ee29c0e.zip |
emacs: use emacs service on linux
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/emacs.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 785b972c..27327af7 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -29,6 +29,11 @@ in 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; }); |