From 52ba6148991d138b68d8d1490bc9f39ef7e68017 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Thu, 9 Jan 2025 11:42:06 +0100 Subject: [PATCH] hosts (srv-test-2): Replace target host name with IP The host name used to work in the old nextcloud-sync.nix solution because it also configured SSH. But that part was dropped when I generalized the module. --- systems/x86_64-linux/srv-test-2/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/x86_64-linux/srv-test-2/configuration.nix b/systems/x86_64-linux/srv-test-2/configuration.nix index 6f8df0d..d024e14 100644 --- a/systems/x86_64-linux/srv-test-2/configuration.nix +++ b/systems/x86_64-linux/srv-test-2/configuration.nix @@ -19,7 +19,7 @@ jobs = [ { serviceName = "nextcloud"; - host = "srv-prod-2"; + host = config.my.homelab.srv-prod-2.ip; dataDir = "/var/lib/nextcloud/data"; preCommand = "nextcloud-occ maintenance:mode --on"; postCommand = "nextcloud-occ maintenance:mode --off"; @@ -28,7 +28,7 @@ } { serviceName = "git"; - host = "srv-prod-2"; + host = config.my.homelab.srv-prod-2.ip; dataDir = "/srv/git"; } ];