Compare commits
6 Commits
165fa5f3ce
...
4d6a5292d9
Author | SHA1 | Date | |
---|---|---|---|
|
4d6a5292d9 | ||
|
1219b42ba0 | ||
|
5f79653e0b | ||
|
884932435c | ||
|
18670f96e8 | ||
|
07e7e53663 |
@ -9,26 +9,31 @@ let
|
|||||||
whisperPort = 10300;
|
whisperPort = 10300;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.wyoming = {
|
services.go2rtc = {
|
||||||
faster-whisper = {
|
enable = true;
|
||||||
servers."home" = {
|
settings.api.listen = "127.0.0.1:1984";
|
||||||
enable = true;
|
|
||||||
uri = "tcp://127.0.0.1:${toString whisperPort}";
|
|
||||||
model = "large-v3";
|
|
||||||
device = "cuda";
|
|
||||||
language = "en";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
piper = {
|
|
||||||
servers."home" = {
|
|
||||||
enable = true;
|
|
||||||
uri = "tcp://127.0.0.1:${toString piperPort}";
|
|
||||||
voice = "en-us-ryan-medium";
|
|
||||||
lengthScale = 0.63;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# services.wyoming = {
|
||||||
|
# faster-whisper = {
|
||||||
|
# servers."home" = {
|
||||||
|
# enable = true;
|
||||||
|
# uri = "tcp://127.0.0.1:${toString whisperPort}";
|
||||||
|
# model = "large-v3";
|
||||||
|
# device = "cuda";
|
||||||
|
# language = "en";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# piper = {
|
||||||
|
# servers."home" = {
|
||||||
|
# enable = true;
|
||||||
|
# uri = "tcp://127.0.0.1:${toString piperPort}";
|
||||||
|
# voice = "en-us-ryan-medium";
|
||||||
|
# lengthScale = 0.63;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
services.home-assistant = {
|
services.home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.unstablePkgs.home-assistant;
|
package = pkgs.unstablePkgs.home-assistant;
|
||||||
@ -1105,6 +1110,8 @@ in
|
|||||||
"mqtt_statestream"
|
"mqtt_statestream"
|
||||||
"github"
|
"github"
|
||||||
"webostv"
|
"webostv"
|
||||||
|
"reolink"
|
||||||
|
"onvif"
|
||||||
];
|
];
|
||||||
extraPackages = python3Packages: with python3Packages; [
|
extraPackages = python3Packages: with python3Packages; [
|
||||||
pkgs.openai-whisper
|
pkgs.openai-whisper
|
||||||
|
@ -10,7 +10,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
architect.vhost.${domain} = {
|
architect.vhost.${domain} = {
|
||||||
dnsInterfaces = [ "tailscale" ];
|
dnsInterfaces = [ "tailscale" "lan" ];
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
port = config.services.jellyseerr.port;
|
port = config.services.jellyseerr.port;
|
||||||
allowLan = true;
|
allowLan = true;
|
||||||
|
@ -10,7 +10,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
architect.vhost.${domain} = with config.architect.networks; {
|
architect.vhost.${domain} = with config.architect.networks; {
|
||||||
dnsInterfaces = [ "tailscale" ];
|
dnsInterfaces = [ "tailscale" "lan" ];
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
port = 9696;
|
port = 9696;
|
||||||
|
@ -102,7 +102,7 @@ in
|
|||||||
apps = [
|
apps = [
|
||||||
{
|
{
|
||||||
name = "Steam";
|
name = "Steam";
|
||||||
cmd = ''${pkgs.bash}/bin/bash -c "${pkgs.gamescope}/bin/gamescope -f --hdr-enabled -e -W ''${SUNSHINE_CLIENT_WIDTH} -H ''${SUNSHINE_CLIENT_HEIGHT} -r ''${SUNSHINE_CLIENT_FPS} -- ${pkgs.steam}/bin/steam"'';
|
cmd = ''${pkgs.bash}/bin/bash -c "${pkgs.gamescope}/bin/gamescope --immediate-flips --rt -C 3000 -f --hdr-enabled -e -W ''${SUNSHINE_CLIENT_WIDTH} -H ''${SUNSHINE_CLIENT_HEIGHT} -r ''${SUNSHINE_CLIENT_FPS} -- ${pkgs.steam}/bin/steam"'';
|
||||||
prep-cmd = [
|
prep-cmd = [
|
||||||
{
|
{
|
||||||
do = ''${pkgs.bash}/bin/bash -c "${resolutionScript}/bin/resolution.sh ''${SUNSHINE_CLIENT_WIDTH} ''${SUNSHINE_CLIENT_HEIGHT}" ''${SUNSHINE_CLIENT_FPS}"'';
|
do = ''${pkgs.bash}/bin/bash -c "${resolutionScript}/bin/resolution.sh ''${SUNSHINE_CLIENT_WIDTH} ''${SUNSHINE_CLIENT_HEIGHT}" ''${SUNSHINE_CLIENT_FPS}"'';
|
||||||
|
Loading…
Reference in New Issue
Block a user