infrastructure/modules/system/exports/nfandroidtv.nix
arcnmx eb8b519394 fix(hass): nfandroidtv proxy
the service on the TV is unreliable, so proxy it with a fake success
response when offline to satisfy the home-assistant integration
2024-06-22 17:51:30 -07:00

16 lines
379 B
Nix

{
lib,
gensokyo-zone,
...
}: let
inherit (gensokyo-zone.lib) mkAlmostOptionDefault;
in {
config.exports.services.nfandroidtv = {config, ...}: {
displayName = mkAlmostOptionDefault "Notifications for Android TV";
ports.default = {
port = mkAlmostOptionDefault 7676;
protocol = "http";
#status.enable = mkAlmostOptionDefault true;
};
};
}