diff options
| author | Herman Rimm <herman@rimm.ee> | 2026-07-16 15:06:05 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-08-26 11:18:07 +0900 |
| commit | 933ef6f5f4b192ae86a22db28a1d71ad5afddf35 (patch) | |
| tree | cbd63de2832242f101e84251e1e240cd893c4496 | |
| parent | 836beed08e1d392fb3686852ecc749d9cd3117a7 (diff) | |
services: elogind: Remove deprecated fields.
* gnu/services/desktop.scm (elogind-deprecated-empty-serializer): Remove
variable.
(elogind-configuration): Remove deprecated fields.
* doc/guix.texi (Desktop Services): Remove descriptions for deprecated
configuration fields.
Change-Id: Ic4847d9da352671eb0dd7a7ffe507b8b5ff149e4
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
| -rw-r--r-- | doc/guix.texi | 9 | ||||
| -rw-r--r-- | gnu/services/desktop.scm | 27 |
2 files changed, 1 insertions, 35 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 926f5b7fe4d..998e4ecff27 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -27759,15 +27759,6 @@ elogind when hibernating the system. | |||
| 27759 | The amount of time the system spends in suspend mode before the system | 27759 | The amount of time the system spends in suspend mode before the system |
| 27760 | is automatically put into hibernate mode. | 27760 | is automatically put into hibernate mode. |
| 27761 | 27761 | ||
| 27762 | @item @code{hibernate-state} (type: maybe-list-of-strings) | ||
| 27763 | Deprecated option. | ||
| 27764 | |||
| 27765 | @item @code{hybrid-sleep-state} (type: maybe-list-of-strings) | ||
| 27766 | Deprecated option. | ||
| 27767 | |||
| 27768 | @item @code{hybrid-sleep-mode} (type: maybe-list-of-strings) | ||
| 27769 | Deprecated option. | ||
| 27770 | |||
| 27771 | @end table | 27762 | @end table |
| 27772 | 27763 | ||
| 27773 | @end deftp | 27764 | @end deftp |
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 6c116646504..c9fe5024319 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm | |||
| @@ -1412,12 +1412,6 @@ and many other) available for GIO applications.") | |||
| 1412 | (define-maybe list-of-hibernation-modes | 1412 | (define-maybe list-of-hibernation-modes |
| 1413 | (prefix elogind-)) | 1413 | (prefix elogind-)) |
| 1414 | 1414 | ||
| 1415 | (define (elogind-deprecated-empty-serializer name value) | ||
| 1416 | (when (maybe-value-set? value) | ||
| 1417 | (warn-about-deprecation name #f | ||
| 1418 | #:replacement #f)) | ||
| 1419 | "") | ||
| 1420 | |||
| 1421 | (define-maybe list-of-strings | 1415 | (define-maybe list-of-strings |
| 1422 | (prefix elogind-)) | 1416 | (prefix elogind-)) |
| 1423 | 1417 | ||
| @@ -1471,8 +1465,7 @@ and many other) available for GIO applications.") | |||
| 1471 | ;;; sleep.conf. | 1465 | ;;; sleep.conf. |
| 1472 | (define %elogind-configuration-sleep-fields | 1466 | (define %elogind-configuration-sleep-fields |
| 1473 | '( suspend-state suspend-mode suspend-estimation-seconds | 1467 | '( suspend-state suspend-mode suspend-estimation-seconds |
| 1474 | hibernate-mode hibernate-delay-seconds hibernate-state | 1468 | hibernate-mode hibernate-delay-seconds |
| 1475 | hybrid-sleep-state hybrid-sleep-mode | ||
| 1476 | allow-power-off-interrupts? allow-suspend-interrupts? | 1469 | allow-power-off-interrupts? allow-suspend-interrupts? |
| 1477 | broadcast-power-off-interrupts? broadcast-suspend-interrupts?)) | 1470 | broadcast-power-off-interrupts? broadcast-suspend-interrupts?)) |
| 1478 | 1471 | ||
| @@ -1642,24 +1635,6 @@ the user shall be removed when the user fully logs out.") | |||
| 1642 | "The amount of time the system spends in suspend mode before the system is | 1635 | "The amount of time the system spends in suspend mode before the system is |
| 1643 | automatically put into hibernate mode.") | 1636 | automatically put into hibernate mode.") |
| 1644 | 1637 | ||
| 1645 | ;; TODO: Remove in May 2026. | ||
| 1646 | (hibernate-state | ||
| 1647 | maybe-list-of-strings | ||
| 1648 | "Deprecated option." | ||
| 1649 | (serializer elogind-deprecated-empty-serializer)) | ||
| 1650 | |||
| 1651 | ;; TODO: Remove in May 2026. | ||
| 1652 | (hybrid-sleep-state | ||
| 1653 | maybe-list-of-strings | ||
| 1654 | "Deprecated option." | ||
| 1655 | (serializer elogind-deprecated-empty-serializer)) | ||
| 1656 | |||
| 1657 | ;; TODO: Remove in May 2026. | ||
| 1658 | (hybrid-sleep-mode | ||
| 1659 | maybe-list-of-strings | ||
| 1660 | "Deprecated option." | ||
| 1661 | (serializer elogind-deprecated-empty-serializer)) | ||
| 1662 | |||
| 1663 | (prefix elogind-)) | 1638 | (prefix elogind-)) |
| 1664 | 1639 | ||
| 1665 | (define (logind.conf config) | 1640 | (define (logind.conf config) |
