From 014859accce1a137eab986bc4b05834eb56548f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= <motiejus@jakstys.lt>
Date: Sat, 15 Mar 2025 17:52:40 +0000
Subject: [PATCH] add timelapse to vno3-nk

---
 hosts/vno3-nk/configuration.nix | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/hosts/vno3-nk/configuration.nix b/hosts/vno3-nk/configuration.nix
index 9976b41..e75fb4f 100644
--- a/hosts/vno3-nk/configuration.nix
+++ b/hosts/vno3-nk/configuration.nix
@@ -17,6 +17,7 @@ in
     root-server-passwd-hash.file = ../../secrets/root_server_passwd_hash.age;
     sasl-passwd.file = ../../secrets/postfix_sasl_passwd.age;
     borgbackup-password.file = ../../secrets/fwminex/borgbackup-password.age;
+    timelapse.file = ../../secrets/timelapse.age;
     ssh8022-server = {
       file = ../../secrets/ssh8022.age;
       owner = "spiped";
@@ -99,6 +100,12 @@ in
         extraSubnets = [ myData.subnets.vno3.cidr ];
       };
 
+      timelapse-r11 = {
+        enable = true;
+        onCalendar = "*:0/5:30"; # 30'th second every 5 mins
+        secretsEnv = config.age.secrets.timelapse.path;
+      };
+
       ssh8022.server = {
         enable = true;
         keyfile = config.age.secrets.ssh8022-server.path;