observation conversion

This commit is contained in:
John Lancaster
2024-12-01 23:21:42 -06:00
parent 5cfe401b8c
commit 809d4ee6c1
4 changed files with 111 additions and 0 deletions

11
watchtower.nix Normal file
View File

@@ -0,0 +1,11 @@
{ ... }:
{
virtualisation.oci-containers.containers.watchtower = {
image = "containrrr/watchtower:latest";
volumes = [
"/etc/zoneinfo/America/Chicago:/etc/localtime:ro"
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {WATCHTOWER_SCHEDULE = "0 0 3 * * *";};
};
}