aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/mpv.scm
diff options
context:
space:
mode:
Diffstat (limited to 'nichijou/home/mpv.scm')
-rw-r--r--nichijou/home/mpv.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/nichijou/home/mpv.scm b/nichijou/home/mpv.scm
index 9df9d9b..ca6a82c 100644
--- a/nichijou/home/mpv.scm
+++ b/nichijou/home/mpv.scm
@@ -2,10 +2,13 @@
#:use-module (gnu home services)
#:use-module (gnu packages video)
#:use-module (gnu services)
- #:use-module (guix gexp))
+ #:use-module (guix gexp)
+ #:use-module (ice-9 optargs))
-(define-public packages
- (list mpv mpv-mpris))
+(define*-public (get-packages #:key (foreign-distro? #f))
+ (if foreign-distro?
+ (list)
+ (list mpv mpv-mpris)))
;; TODO: Implement mpv home service?
(define-public services