diff options
Diffstat (limited to 'nichijou/home/mpd.scm')
-rw-r--r-- | nichijou/home/mpd.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nichijou/home/mpd.scm b/nichijou/home/mpd.scm index e935ed7..1585a1b 100644 --- a/nichijou/home/mpd.scm +++ b/nichijou/home/mpd.scm @@ -2,10 +2,13 @@ #:use-module (gnu home services) #:use-module (gnu packages mpd) #:use-module (gnu services) - #:use-module (guix gexp)) + #:use-module (guix gexp) + #:use-module (ice-9 optargs)) -(define-public packages - (list mpd)) +(define*-public (get-packages #:key (foreign-distro? #f)) + (if foreign-distro? + (list) + (list mpd))) ;; TODO: Write MPD home service? (define-public services |