From 097fe6f7b034746223d4749a92a775da84251085 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Mon, 2 Mar 2026 11:13:44 -0500 Subject: [PATCH] added llms --- bin/skyg | 2 +- hosts/hl-fwdesk.nix | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/bin/skyg b/bin/skyg index 5d6f90d..c47135f 100755 --- a/bin/skyg +++ b/bin/skyg @@ -69,7 +69,7 @@ def "main remote" [cmd:string, target:string = ""] { return $valid_cmds } $"($cmd) on ($target_host) with ($profile)" | print - mut runcmd = $"nixos-rebuild --target-host ($target_host) --sudo ($cmd) --flake .#($profile)" + mut runcmd = $"nixos-rebuild ($cmd) --target-host ($target_host) --use-remote-sudo --flake .#($profile)" $runcmd | print bash -c $runcmd } diff --git a/hosts/hl-fwdesk.nix b/hosts/hl-fwdesk.nix index 5c36748..e6dd59d 100644 --- a/hosts/hl-fwdesk.nix +++ b/hosts/hl-fwdesk.nix @@ -1,14 +1,21 @@ { pkgs -, unstablePkgs -, lib , ... }: let ports = { tabby = 11029; ollama = 11434; + piper = 10200; + fastWhisper = 10300; + wyoming = 10400; }; - openPorts = [ ports.ollama ports.tabby ]; + openPorts = [ + ports.ollama + ports.tabby + ports.fastWhisper + ports.piper + ports.wyoming + ]; in { imports = [ ./hl-fwdesk.hardware-configuration.nix ]; @@ -141,16 +148,17 @@ in services.wyoming = { openwakeword = { enable = true; + uri = "tcp://0.0.0.0:${toString ports.wyoming}"; }; piper.servers.peta = { enable = true; - uri = "tcp://0.0.0.0:10200"; + uri = "tcp://0.0.0.0:${toString ports.piper}"; voice = "en_US-danny-low"; streaming = true; }; faster-whisper.servers.todd = { enable = true; - uri = "tcp://0.0.0.0:10300"; + uri = "tcp://0.0.0.0:${toString ports.fastWhisper}"; model = "tiny.en"; language = "en"; device = "auto";