1
0
Fork 0

watchtower: set hostname

This commit is contained in:
Daniel Kempkens 2023-03-13 01:13:25 +01:00
parent fba636d19a
commit c645eed5b9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -1,4 +1,4 @@
{ pkgs, secret, ... }:
{ pkgs, config, secret, ... }:
{
environment.systemPackages = [
@ -23,6 +23,7 @@
WATCHTOWER_POLL_INTERVAL = "28800";
WATCHTOWER_LABEL_ENABLE = "true";
WATCHTOWER_NOTIFICATIONS = "shoutrrr";
WATCHTOWER_NOTIFICATIONS_HOSTNAME = config.networking.hostName;
WATCHTOWER_NOTIFICATION_URL = secret.watchtower.ntfyUrl;
};
volumes = [