aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/mpv.scm
blob: ca6a82cf9ea2942c4bfd6a5ccf6d8b183641b275 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(define-module (nichijou home mpv)
  #:use-module (gnu home services)
  #:use-module (gnu packages video)
  #:use-module (gnu services)
  #:use-module (guix gexp)
  #:use-module (ice-9 optargs))

(define*-public (get-packages #:key (foreign-distro? #f))
  (if foreign-distro?
      (list)
      (list mpv mpv-mpris)))

;; 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"))))))