mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
services: desktop: Deprecate the upower-service procedure.
This has now been replaced by the upower-service-type and <upower-configuration> record. * gnu/services/desktop.scm (upower-service): Deprecate this procedure.
This commit is contained in:
parent
8b9a7b26c2
commit
8d2c3c54ee
1 changed files with 13 additions and 12 deletions
|
@ -51,6 +51,7 @@ (define-module (gnu services desktop)
|
|||
#:use-module (gnu packages libusb)
|
||||
#:use-module (gnu packages mate)
|
||||
#:use-module (gnu packages enlightenment)
|
||||
#:use-module (guix deprecation)
|
||||
#:use-module (guix records)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix store)
|
||||
|
@ -293,7 +294,7 @@ (define upower-service-type
|
|||
upower-package)))
|
||||
(default-value (upower-configuration)))))
|
||||
|
||||
(define* (upower-service #:key (upower upower)
|
||||
(define-deprecated (upower-service #:key (upower upower)
|
||||
(watts-up-pro? #f)
|
||||
(poll-batteries? #t)
|
||||
(ignore-lid? #f)
|
||||
|
|
Loading…
Reference in a new issue