nichts/modules/options/usrEnv/services/default.nix
2024-07-23 00:00:32 +02:00

17 lines
408 B
Nix

{lib, ...}: let
inherit (lib.options) mkOption mkEnableOption;
inherit (lib) types;
in {
options.modules.usrEnv.services = {
locate.enable = mkEnableOption "Locate service";
media = {
mpd = {
enable = mkEnableOption "mpd service";
musicDirectory = mkOption {
description = "music directory for mpd";
type = types.str;
};
};
};
};
}