add bluetooth support

main
hashirama 2024-09-13 02:39:47 +00:00
parent cb0e91a51c
commit bc1ea12933
1 changed files with 201 additions and 192 deletions

View File

@ -25,6 +25,7 @@
(gnu packages java) (gnu packages java)
(gnu packages fcitx5) (gnu packages fcitx5)
(gnu packages ibus) (gnu packages ibus)
(gnu services dbus)
(gnu packages gnuzilla) (gnu packages gnuzilla)
(gnu services mcron) (gnu services mcron)
(gnu packages haskell) (gnu packages haskell)
@ -232,6 +233,7 @@ KERNEL==\"xpad\", SUBSYSTEM==\"drivers\", ACTION==\"add\", ATTR{new_id}=\"2dc8 3
;;element-desktop ;;element-desktop
;; bluetooth ;; bluetooth
bluez bluez
bluez-alsa
blueman blueman
;; ime ;; ime
enchant enchant
@ -335,6 +337,13 @@ KERNEL==\"xpad\", SUBSYSTEM==\"drivers\", ACTION==\"add\", ATTR{new_id}=\"2dc8 3
(service nix-service-type) (service nix-service-type)
;; bluetooth
(service bluetooth-service-type
(bluetooth-configuration
(auto-enable? #t)))
(simple-service 'blueman dbus-root-service-type (list blueman))
#| Compress my mpv screenshots periodically |# #| Compress my mpv screenshots periodically |#
(service mcron-service-type (service mcron-service-type
(mcron-configuration (mcron-configuration