2024-07-20 13:56:02 +02:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib.options) mkOption mkEnableOption;
|
|
|
|
inherit (lib) types;
|
|
|
|
in {
|
|
|
|
options.modules.usrEnv.services.media = {
|
|
|
|
mpd = {
|
|
|
|
enable = mkEnableOption "mpd service";
|
|
|
|
musicDirectory = mkOption {
|
|
|
|
description = "music directory for mpd";
|
|
|
|
type = types.str;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|