diff --git a/machine-confs/ntfy.nix b/machine-confs/ntfy.nix index f26d2b2..2c90de9 100644 --- a/machine-confs/ntfy.nix +++ b/machine-confs/ntfy.nix @@ -9,4 +9,14 @@ # HARDWARE SPECIFIC services.qemuGuest.enable = true; + + # Make sure this service updates later than the rest, to capture any notifs from the others + system.autoUpgrade = { + dates = pkgs.lib.mkForce "05:00"; + rebootWindow = pkgs.lib.mkForce { + lower = "04:30"; + upper = "06:00"; + }; + }; + } diff --git a/services/ntfy.nix b/services/ntfy.nix index 21431dc..12f6cc0 100644 --- a/services/ntfy.nix +++ b/services/ntfy.nix @@ -13,7 +13,6 @@ listen-https = ":443"; key-file = "/var/lib/ntfy/privkey.pem"; cert-file = "/var/lib/ntfy/fullchain.pem"; - cache-file = "/var/lib/ntfy/notif-cache.sqlite"; }; }; }