about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-08-25T10·13+0300
committerclbot <clbot@tvl.fyi>2024-08-25T11·29+0000
commitfe07ebfb30d0c665f85e5083cfb1ea18b6c0d4b0 (patch)
tree7985b5fef3682f293bb522085f1e5ba110047376
parenta77b1d176bc5cf2c78f7c8c1bfef8f0bcfb6d354 (diff)
feat(volgasprint-cache): enable auto deploy r/8583
Change-Id: I3b0a4695f69ef24a4f1f6280402c8a72223ff0c9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12344
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: mrflos <mrflos@yeswiki.pro>
-rw-r--r--ops/machines/volgasprint-cache/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/ops/machines/volgasprint-cache/default.nix b/ops/machines/volgasprint-cache/default.nix
index 536a7f6ce265..88f2f2863dde 100644
--- a/ops/machines/volgasprint-cache/default.nix
+++ b/ops/machines/volgasprint-cache/default.nix
@@ -20,6 +20,11 @@ in
     };
   };
 
+  depot.auto-deploy = {
+    enable = true;
+    interval = "hourly";
+  };
+
   fileSystems = {
     "/" = {
       device = "/dev/disk/by-label/NIXOS_SD";
@@ -38,7 +43,7 @@ in
       allowedTCPPorts = [ 80 443 8098 ];
     };
 
-    hostName = "cache";
+    hostName = "volgacache";
     domain = "volgasprint.org";
 
     wireless = {