2022-09-09 10:28:03 -04:00
|
|
|
(define-module (nichijou home mpd)
|
|
|
|
#:use-module (gnu home services)
|
|
|
|
#:use-module (gnu packages mpd)
|
|
|
|
#:use-module (gnu services)
|
2022-09-09 11:57:30 -04:00
|
|
|
#:use-module (guix gexp)
|
|
|
|
#:use-module (ice-9 optargs))
|
2022-09-09 10:28:03 -04:00
|
|
|
|
2022-09-09 11:57:30 -04:00
|
|
|
(define*-public (get-packages #:key (foreign-distro? #f))
|
|
|
|
(if foreign-distro?
|
|
|
|
(list)
|
|
|
|
(list mpd)))
|
2022-09-09 10:28:03 -04:00
|
|
|
|
|
|
|
;; TODO: Write MPD home service?
|
|
|
|
(define-public services
|
|
|
|
(list (simple-service 'nichijou-mpd-config home-files-service-type
|
|
|
|
`((".config/mpd/mpd.conf" ,(local-file
|
|
|
|
"config/mpd/mpd.conf"))))))
|