From ad688a1d293970070842d93033e046b15477dfaf Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 2 Apr 2026 12:37:43 -0500 Subject: [PATCH] fixed ssh access --- app/sovran_systemsos_web/server.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/sovran_systemsos_web/server.py b/app/sovran_systemsos_web/server.py index b1ed08f..ccf6cab 100644 --- a/app/sovran_systemsos_web/server.py +++ b/app/sovran_systemsos_web/server.py @@ -27,14 +27,11 @@ FLAKE_INPUT_NAME = "Sovran_Systems" GITEA_API_BASE = "https://git.sovransystems.com/api/v1/repos/Sovran_Systems/Sovran_SystemsOS/commits" REBOOT_COMMAND = [ - "ssh", "-o", "StrictHostKeyChecking=no", "-o", "BatchMode=yes", - "root@localhost", "reboot", ] UPDATE_COMMAND = [ - "ssh", "-o", "StrictHostKeyChecking=no", "-o", "BatchMode=yes", - "root@localhost", + "bash", "-c", "cd /etc/nixos && nix flake update && nixos-rebuild switch && flatpak update -y", ]