nixos/modules/services/kubo.nix
2024-03-06 13:10:30 +08:00

12 lines
293 B
Nix

inputs:
{
options.nixos.services.kubo = let inherit (inputs.lib) mkOption types; in
{
enable = mkOption { type = types.bool; default = false; };
};
config = let inherit (inputs.config.nixos.services) kubo; in inputs.lib.mkIf kubo.enable
{
services.kubo.enable = true;
};
}