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 # set port options
faster_whisper_port = lib.mkOption { faster_whisper_port = lib.mkOption {
type = lib.types.str; type = lib.types.int;
default = "7706"; default = 7706;
description = "set port for ${service} (default: ${toString cfg.port}"; description = "set port for ${service} (default: ${toString cfg.port}";
}; };
piper_port = lib.mkOption { piper_port = lib.mkOption {
type = lib.types.str; type = lib.types.int;
default = "7707"; default = 7707;
description = "set port for ${service} (default: ${toString cfg.port}"; description = "set port for ${service} (default: ${toString cfg.port}";
}; };
}; };
@@ -33,7 +33,7 @@ in {
vanessa = { vanessa = {
enable = true; enable = true;
language = "en"; 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"; model = "medium";
device = "auto"; device = "auto";
}; };
@@ -43,7 +43,7 @@ in {
servers = { servers = {
vanessa = { vanessa = {
enable = true; 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"; voice = "en_US-amy-medium";
}; };
}; };