wyoming fin

This commit is contained in:
2026-05-01 02:39:04 -05:00
parent d84db54669
commit fe112cb380
+7 -6
View File
@@ -12,13 +12,13 @@ in
# set port options
faster_whisper_port = lib.mkOption {
type = lib.types.int;
default = 7706;
type = lib.types.str;
default = "7706";
description = "set port for ${service} (default: ${toString cfg.port}";
};
piper_port = lib.mkOption {
type = lib.types.int;
default = 7706;
type = lib.types.str;
default = "7707";
description = "set port for ${service} (default: ${toString cfg.port}";
};
};
@@ -43,14 +43,15 @@ in
vanessa = {
enable = true;
uri = "tcp://0.0.0.0:${cfg.piper_port}";
model = "en_US-amy-medium";
voice = "en_US-amy-medium";
};
};
};
};
# # open firewall
networking.firewall.allowedTCPPorts = [ cfg.faster_whisper_port cfg.piper_port ];
#networking.firewall.allowedTCPPorts = [ cfg.faster_whisper_port cfg.piper_port ];
networking.firewall.allowedTCPPorts = [ 7706 7707 ];
};
}