2022-09-09 10:28:53 -04:00
|
|
|
(define-module (nichijou home mpv)
|
|
|
|
#:use-module (gnu home services)
|
|
|
|
#:use-module (gnu packages video)
|
|
|
|
#: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:53 -04:00
|
|
|
|
2022-09-09 11:57:30 -04:00
|
|
|
(define*-public (get-packages #:key (foreign-distro? #f))
|
|
|
|
(if foreign-distro?
|
|
|
|
(list)
|
|
|
|
(list mpv mpv-mpris)))
|
2022-09-09 10:28:53 -04:00
|
|
|
|
|
|
|
;; TODO: Implement mpv home service?
|
|
|
|
(define-public services
|
|
|
|
(list (simple-service 'nichijou-mpv-config home-files-service-type
|
|
|
|
`((".config/mpv/mpv.conf" ,(local-file
|
|
|
|
"config/mpv/mpv.conf"))))))
|