From 1ea4523bd1be9365649acdf4e676bfe2d40e2b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sun, 14 Aug 2022 20:29:38 +0200 Subject: [PATCH] Fix droppie backup ssh service and build --- hosts/droppie/droppie.nix | 2 +- pkgs/default.nix | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/hosts/droppie/droppie.nix b/hosts/droppie/droppie.nix index 8918cde..b828d74 100644 --- a/hosts/droppie/droppie.nix +++ b/hosts/droppie/droppie.nix @@ -33,7 +33,7 @@ in }; serviceConfig = { Type = "simple"; - ExecStart = "${pkgs.openssh}/bin/ssh -vvv -g -N -T -o 'ServerAliveInterval 10' -o 'ExitOnForwardFailure yes' -R 127.0.0.1:22022:localhost:22 cloud.pub.solar"; + ExecStart = "${pkgs.openssh}/bin/ssh -vvv -g -N -T -o 'ServerAliveInterval 10' -o 'ExitOnForwardFailure yes' -R 127.0.0.1:22022:localhost:22 root@cloud.pub.solar"; Restart = "always"; RestartSec = "5s"; }; diff --git a/pkgs/default.nix b/pkgs/default.nix index 6e70e21..d308f64 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -19,9 +19,5 @@ with final; { wcwd = writeShellScriptBin "wcwd" (import ./wcwd.nix final); drone-docker-runner = writeShellScriptBin "drone-docker-runner" (import ./drone-docker-runner.nix final); record-screen = writeShellScriptBin "record-screen" (import ./record-screen.nix final); - - # ps-fixes - scan2paperless = writeShellScriptBin "scan2paperless" (import ./scan2paperless.nix final); - drone-docker-runner = writeShellScriptBin "drone-docker-runner" (import ./drone-docker-runner.nix final); }