Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41df12b164 | ||
|
|
18c19b2823 | ||
|
|
66d17dfde1 | ||
|
|
5bb3d44c8c |
@@ -66,7 +66,6 @@
|
||||
# system
|
||||
backups.enable = true;
|
||||
motd.enable = true;
|
||||
postfix.enable = false;
|
||||
uptime-kuma.enable = true;
|
||||
# # ai
|
||||
# ollama.enable = false;
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user