file cleanup, conditional motd

This commit is contained in:
2026-06-14 08:38:34 -05:00
parent 18c19b2823
commit 41df12b164
@@ -14,13 +14,13 @@ in {
# set port options
faster_whisper_port = lib.mkOption {
type = lib.types.str;
default = "7706";
type = lib.types.int;
default = 7706;
description = "set port for ${service} (default: ${toString cfg.port}";
};
piper_port = lib.mkOption {
type = lib.types.str;
default = "7707";
type = lib.types.int;
default = 7707;
description = "set port for ${service} (default: ${toString cfg.port}";
};
};
@@ -33,7 +33,7 @@ in {
vanessa = {
enable = true;
language = "en";
uri = "tcp://0.0.0.0:${cfg.faster_whisper_port}";
uri = "tcp://0.0.0.0:${toString cfg.faster_whisper_port}";
model = "medium";
device = "auto";
};
@@ -43,7 +43,7 @@ in {
servers = {
vanessa = {
enable = true;
uri = "tcp://0.0.0.0:${cfg.piper_port}";
uri = "tcp://0.0.0.0:${toString cfg.piper_port}";
voice = "en_US-amy-medium";
};
};