Compare commits
6 Commits
165fa5f3ce
...
4d6a5292d9
Author | SHA1 | Date | |
---|---|---|---|
|
4d6a5292d9 | ||
|
1219b42ba0 | ||
|
5f79653e0b | ||
|
884932435c | ||
|
18670f96e8 | ||
|
07e7e53663 |
@ -9,26 +9,31 @@ let
|
||||
whisperPort = 10300;
|
||||
in
|
||||
{
|
||||
services.wyoming = {
|
||||
faster-whisper = {
|
||||
servers."home" = {
|
||||
services.go2rtc = {
|
||||
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;
|
||||
};
|
||||
};
|
||||
settings.api.listen = "127.0.0.1:1984";
|
||||
};
|
||||
|
||||
# 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 = {
|
||||
enable = true;
|
||||
package = pkgs.unstablePkgs.home-assistant;
|
||||
@ -1105,6 +1110,8 @@ in
|
||||
"mqtt_statestream"
|
||||
"github"
|
||||
"webostv"
|
||||
"reolink"
|
||||
"onvif"
|
||||
];
|
||||
extraPackages = python3Packages: with python3Packages; [
|
||||
pkgs.openai-whisper
|
||||
|
@ -10,7 +10,7 @@ in
|
||||
};
|
||||
|
||||
architect.vhost.${domain} = {
|
||||
dnsInterfaces = [ "tailscale" ];
|
||||
dnsInterfaces = [ "tailscale" "lan" ];
|
||||
locations."/" = {
|
||||
port = config.services.jellyseerr.port;
|
||||
allowLan = true;
|
||||
|
@ -10,7 +10,7 @@ in
|
||||
};
|
||||
|
||||
architect.vhost.${domain} = with config.architect.networks; {
|
||||
dnsInterfaces = [ "tailscale" ];
|
||||
dnsInterfaces = [ "tailscale" "lan" ];
|
||||
|
||||
locations."/" = {
|
||||
port = 9696;
|
||||
|
@ -102,7 +102,7 @@ in
|
||||
apps = [
|
||||
{
|
||||
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 = [
|
||||
{
|
||||
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