mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
services: desktop: Deprecate 'bluetooth-service' procedure.
* doc/guix.texi (Desktop Services): Remove mention of 'bluetooth-service'. * gnu/services/desktop.scm (bluetooth-service): Deprecate procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ae0975332c
commit
be1435d668
2 changed files with 3 additions and 11 deletions
|
@ -23646,15 +23646,6 @@ The value for this service is a @code{<geoclue-configuration>} object.
|
|||
@c TODO: Document <geoclue-configuration>, preferably by refactoring this to use
|
||||
@c define-configuration and generating documentation from it.
|
||||
|
||||
@deffn {Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @
|
||||
[@w{#:auto-enable? #f}]
|
||||
Return a service that runs the @command{bluetoothd} daemon, which
|
||||
manages all the Bluetooth devices and provides a number of D-Bus
|
||||
interfaces. When AUTO-ENABLE? is true, the bluetooth controller is
|
||||
powered automatically at boot, which can be useful when using a
|
||||
bluetooth keyboard or mouse.
|
||||
@end deffn
|
||||
|
||||
@defvar bluetooth-service-type
|
||||
This is the type for the @uref{https://bluez.org/, Linux Bluetooth Protocol
|
||||
Stack} (BlueZ) system, which generates the @file{/etc/bluetooth/main.conf}
|
||||
|
|
|
@ -112,7 +112,7 @@ (define-module (gnu services desktop)
|
|||
bluetooth-service-type
|
||||
bluetooth-configuration
|
||||
bluetooth-configuration?
|
||||
bluetooth-service
|
||||
bluetooth-service ; deprecated
|
||||
|
||||
elogind-configuration
|
||||
elogind-configuration?
|
||||
|
@ -859,7 +859,8 @@ (define bluetooth-service-type
|
|||
(description "Run the @command{bluetoothd} daemon, which manages all the
|
||||
Bluetooth devices and provides a number of D-Bus interfaces.")))
|
||||
|
||||
(define* (bluetooth-service #:key (bluez bluez) (auto-enable? #f))
|
||||
(define-deprecated (bluetooth-service #:key (bluez bluez) (auto-enable? #f))
|
||||
bluetooth-service-type
|
||||
"Return a service that runs the @command{bluetoothd} daemon, which manages
|
||||
all the Bluetooth devices and provides a number of D-Bus interfaces. When
|
||||
AUTO-ENABLE? is true, the bluetooth controller is powered automatically at
|
||||
|
|
Loading…
Reference in a new issue