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

18 lines
408 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 {
2024-07-23 00:00:26 +02:00
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;
};
2024-07-20 13:56:02 +02:00
};
};
};
}