1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02:00
home-manager/modules
Tad Fisher ac82c036d8
services/emacs: Update systemd definitions, drop Emacs 26 support
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
2021-06-06 01:00:19 +02:00
..
accounts Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
config i18n: various fixes 2021-01-23 16:40:25 +01:00
lib files: remove assertion on recursive onChange 2021-05-30 11:54:33 +02:00
lib-bash home-manager: respect NO_COLOR environment variable 2021-03-03 23:28:06 +01:00
misc docs: set current version to 21.11 2021-06-05 20:05:04 +02:00
programs Revert "foot: add foot binaries to user service's path (#2061)" 2021-06-05 20:53:45 +02:00
services services/emacs: Update systemd definitions, drop Emacs 26 support 2021-06-06 01:00:19 +02:00
targets xdg.systemDirs: init module (#1797) 2021-05-10 20:14:42 -04:00
default.nix modules: don't reference deprecated stdenv.lib (#1770) 2021-02-01 09:52:05 -05:00
files.nix files: remove assertion on recursive onChange 2021-05-30 11:54:33 +02:00
home-environment.nix home-environment: generate checked activation script 2021-05-18 00:18:57 +02:00
manual.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
modules.nix xdg-desktop-entries: add module (#1450) 2021-06-02 19:36:17 -04:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix systemd: revert systemd-environment-generator usage for environment variables (#2001) 2021-05-16 17:43:50 -04:00
xcursor.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
xresources.nix xresources: do not generate file for empty properties 2020-06-28 00:41:05 +02:00
xsession.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00