mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 00:59:44 +01:00
ac82c036d8
Emacs 27 added Type=notify support and updated the service definition to remove the use of `emacsclient' to kill the service. Emacs 28 changes the `StartupWMClass' in emacsclient.desktop to `Emacsd'. Update our emacs.service and emacsclient.desktop definitions to match upstream changes. When killing emacs.service, the socket is removed, and subsequently starting the service manually results in a service without a socket. Prevent this by adding `RefuseManualStart=true' to the service's Unit definition. Drop Emacs 26 support as it is no longer shipped in nixpkgs. Update the tests to verify the following configuration scenarios: - Emacs version: 27, 28 - Socket activation: disabled, enabled
6 lines
180 B
Nix
6 lines
180 B
Nix
{
|
|
emacs-service-27 = ./emacs-service-27.nix;
|
|
emacs-service-28 = ./emacs-service-28.nix;
|
|
emacs-socket-27 = ./emacs-socket-27.nix;
|
|
emacs-socket-28 = ./emacs-socket-28.nix;
|
|
}
|