diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-04-06 13:26:19 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-06-05 17:25:16 +0200 |
commit | a98b1aeeeabf83d1920852b5f67d87b674a7e999 (patch) | |
tree | 57c40b15ce95ca27d22d589a167633b3fcd508c9 | |
parent | Add missing hashes (diff) | |
download | Spacebar-Open-Infrastructure-a98b1aeeeabf83d1920852b5f67d87b674a7e999.tar.xz |
Fix secret path, use calendar time
-rwxr-xr-x | host/Spacebar-monitoring/configuration.nix | 2 | ||||
-rw-r--r-- | modules/auto-redeploy.nix | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/host/Spacebar-monitoring/configuration.nix b/host/Spacebar-monitoring/configuration.nix index 3369094..4ecb682 100755 --- a/host/Spacebar-monitoring/configuration.nix +++ b/host/Spacebar-monitoring/configuration.nix @@ -222,7 +222,7 @@ }; analytics.reporting_enabled = false; - security.secret_key = secrets.grafana.secret_key; + security.secret_key = secrets.secret_keys.grafana; }; provision = { datasources.settings = { diff --git a/modules/auto-redeploy.nix b/modules/auto-redeploy.nix index 5b68353..c50b98e 100644 --- a/modules/auto-redeploy.nix +++ b/modules/auto-redeploy.nix @@ -5,9 +5,8 @@ wantedBy = [ "timers.target" ]; after = [ "network.target" ]; timerConfig = { - #every 30 seconds since boot - OnBootSec = "30s"; - OnUnitActiveSec = "5s"; + #every 30 seconds + OnCalendar = "*:0/10"; Unit = "auto-redeploy.service"; }; }; |