pinwheel: Use emacsclient and run emacs --daemon

This commit is contained in:
Alexander Heldt
2023-10-05 22:37:17 +02:00
parent 326e1abca1
commit 4578b639ad

View File

@@ -9,10 +9,21 @@ let
alwaysTangle = true;
#extraEmacsPackages = epkgs: with epkgs; [ use-package ];
};
e = pkgs.writeShellScriptBin "e" ''
${emacs}/bin/emacsclient -c -n -a=
'';
in
{
home-manager.users.alex = {
services.emacs = {
enable = true;
package = emacs;
};
home.packages = [
e
emacs
pkgs.wl-clipboard
];