Compare commits
4
Commits
11d3fcd8ec
...
41df12b164
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41df12b164 | ||
|
|
18c19b2823 | ||
|
|
66d17dfde1 | ||
|
|
5bb3d44c8c |
@@ -66,7 +66,6 @@
|
|||||||
# system
|
# system
|
||||||
backups.enable = true;
|
backups.enable = true;
|
||||||
motd.enable = true;
|
motd.enable = true;
|
||||||
postfix.enable = false;
|
|
||||||
uptime-kuma.enable = true;
|
uptime-kuma.enable = true;
|
||||||
# # ai
|
# # ai
|
||||||
# ollama.enable = false;
|
# ollama.enable = false;
|
||||||
|
|||||||
@@ -63,7 +63,6 @@
|
|||||||
# system
|
# system
|
||||||
backups.enable = true;
|
backups.enable = true;
|
||||||
motd.enable = false;
|
motd.enable = false;
|
||||||
postfix.enable = false;
|
|
||||||
uptime-kuma.enable = false;
|
uptime-kuma.enable = false;
|
||||||
# ai
|
# ai
|
||||||
#ollama.enable = false;
|
#ollama.enable = false;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
useRoutingFeatures = "both";
|
useRoutingFeatures = "both";
|
||||||
authKeyFile = sec."tailscale_authkey".path;;
|
authKeyFile = sec."tailscale_authkey".path;
|
||||||
extraSetFlags = [
|
extraSetFlags = [
|
||||||
"--advertise-routes=${config.homelab.host_ip}/32" # advertise self
|
"--advertise-routes=${config.homelab.host_ip}/32" # advertise self
|
||||||
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
|
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -42,7 +42,10 @@ in {
|
|||||||
};
|
};
|
||||||
motd = lib.mkOption {
|
motd = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
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 {
|
library_sync_dir = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
|||||||
Reference in New Issue
Block a user