Skip to content

Commit

Permalink
hosts (srv-test-2): Replace target host name with IP
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
britter committed Jan 9, 2025
1 parent 4eec3a0 commit 52ba614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions systems/x86_64-linux/srv-test-2/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -28,7 +28,7 @@
}
{
serviceName = "git";
host = "srv-prod-2";
host = config.my.homelab.srv-prod-2.ip;
dataDir = "/srv/git";
}
];
Expand Down

0 comments on commit 52ba614

Please sign in to comment.