systemd: use sd-switch
This makes the systemd module use the sd-switch application to perform the unit switch during a generation activation. Since the closure of sd-switch is relatively lightweight we unconditionally pull it in as a dependency. We simultaneously remove the `systemd.user.startServices` option and perform the switch action automatically. PR #1388
This commit is contained in:
parent
152769aed9
commit
9c0fe3957b
5 changed files with 39 additions and 344 deletions
|
|
@ -6,10 +6,13 @@ section is therefore not final.
|
|||
|
||||
[[sec-release-20.09-highlights]]
|
||||
=== Highlights
|
||||
:sd-switch-url: https://gitlab.com/rycee/sd-switch
|
||||
|
||||
This release has the following notable changes:
|
||||
|
||||
* Nothing has happened.
|
||||
* The systemd activation is now handled by {sd-switch-url}[sd-switch], a program that stops, starts, reloads, etc. systemd units as necessary to match the new Home Manager configuration.
|
||||
+
|
||||
Since sd-switch is relatively lightweight it is always used and the option `systemd.user.startServices` is therefore considered obsolete and can be removed from your configuration.
|
||||
|
||||
[[sec-release-20.09-state-version-changes]]
|
||||
=== State Version Changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue