nichts/modules/options/usrEnv/services/default.nix

15 lines
326 B
Nix
Raw Normal View History

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;
};
};
};
}