3
0
Fork 0
forked from mirrors/nixpkgs

audio services: use mkEnableOption (#18524)

This commit is contained in:
Langston Barrett 2016-09-11 19:47:08 -07:00 committed by Franz Pletz
parent 7be55e7f71
commit 25a7ded89c
2 changed files with 2 additions and 12 deletions

View file

@ -21,13 +21,7 @@ in {
services.mopidy = {
enable = mkOption {
default = false;
type = types.bool;
description = ''
Whether to enable Mopidy, a music player daemon.
'';
};
enable = mkEnableOption "Mopidy, a music player daemon";
dataDir = mkOption {
default = "/var/lib/mopidy";

View file

@ -12,11 +12,7 @@ in {
services.ympd = {
enable = mkOption {
type = types.bool;
default = false;
description = "Whether to enable ympd, the MPD Web GUI.";
};
enable = mkEnableOption "ympd, the MPD Web GUI";
webPort = mkOption {
type = types.string;