Compare commits

..

No commits in common. "4d6a5292d914f539d7b69e644f9f6860c96e8d59" and "165fa5f3cec2b760f8dd84d02e55abdbb8295bfa" have entirely different histories.

4 changed files with 21 additions and 28 deletions

View File

@ -9,31 +9,26 @@ let
whisperPort = 10300; whisperPort = 10300;
in in
{ {
services.go2rtc = { services.wyoming = {
enable = true; faster-whisper = {
settings.api.listen = "127.0.0.1:1984"; 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.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;
@ -1110,8 +1105,6 @@ 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

View File

@ -10,7 +10,7 @@ in
}; };
architect.vhost.${domain} = { architect.vhost.${domain} = {
dnsInterfaces = [ "tailscale" "lan" ]; dnsInterfaces = [ "tailscale" ];
locations."/" = { locations."/" = {
port = config.services.jellyseerr.port; port = config.services.jellyseerr.port;
allowLan = true; allowLan = true;

View File

@ -10,7 +10,7 @@ in
}; };
architect.vhost.${domain} = with config.architect.networks; { architect.vhost.${domain} = with config.architect.networks; {
dnsInterfaces = [ "tailscale" "lan" ]; dnsInterfaces = [ "tailscale" ];
locations."/" = { locations."/" = {
port = 9696; port = 9696;

View File

@ -102,7 +102,7 @@ in
apps = [ apps = [
{ {
name = "Steam"; name = "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"''; 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"'';
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}"'';