Compare commits

..
4 Commits
Author SHA1 Message Date
blake 41df12b164 file cleanup, conditional motd 2026-06-14 08:38:34 -05:00
blake 18c19b2823 file cleanup, conditional motd 2026-06-14 08:37:23 -05:00
blake 66d17dfde1 file cleanup, conditional motd 2026-06-14 08:36:27 -05:00
blake 5bb3d44c8c file cleanup, conditional motd 2026-06-14 08:36:07 -05:00
5 changed files with 11 additions and 10 deletions
-1
View File
@@ -66,7 +66,6 @@
# system
backups.enable = true;
motd.enable = true;
postfix.enable = false;
uptime-kuma.enable = true;
# # ai
# ollama.enable = false;
-1
View File
@@ -63,7 +63,6 @@
# system
backups.enable = true;
motd.enable = false;
postfix.enable = false;
uptime-kuma.enable = false;
# ai
#ollama.enable = false;
@@ -16,7 +16,7 @@ in {
enable = true;
openFirewall = true;
useRoutingFeatures = "both";
authKeyFile = sec."tailscale_authkey".path;;
authKeyFile = sec."tailscale_authkey".path;
extraSetFlags = [
"--advertise-routes=${config.homelab.host_ip}/32" # advertise self
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
@@ -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";
};
};
+4 -1
View File
@@ -42,7 +42,10 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = if cfg.enable then "immich-server" else null;;
default =
if cfg.enable
then "immich-server"
else null;
};
library_sync_dir = lib.mkOption {
type = lib.types.str;