diff --git a/hosts/docker/configuration.nix b/hosts/docker/configuration.nix index 91e81a3..4b5a2f6 100644 --- a/hosts/docker/configuration.nix +++ b/hosts/docker/configuration.nix @@ -111,33 +111,33 @@ systemd.timers.nextcloud = { # create update task - systemd.services.update-containers = { - description = "Update Docker Compose Containers"; - after = [ "docker.service" ]; - wantedBy = [ "multi-user.target" ]; +# systemd.services.update-containers = { +## description = "Update Docker Compose Containers"; +# after = [ "docker.service" ]; +# wantedBy = [ "multi-user.target" ]; - serviceConfig = { - Type = "oneshot"; - User = "nixos"; - WorkingDirectory = "/home/nixos/docker"; - ExecStart = "${pythonEnv}/bin/python3 /home/nixos/docker/update-containers.py"; - StandardOutput = "journal"; - StandardError = "journal"; - }; +# serviceConfig = { +# Type = "oneshot"; +# User = "nixos"; +# WorkingDirectory = "/home/nixos/docker"; +# ExecStart = "${pythonEnv}/bin/python3 /home/nixos/docker/update-containers.py"; +# StandardOutput = "journal"; +# StandardError = "journal"; +# }; - path = [ pkgs.docker pkgs.docker-compose ]; # Ensures docker CLI is available in $PATH - }; +# path = [ pkgs.docker pkgs.docker-compose ]; # Ensures docker CLI is available in $PATH +# }; -systemd.timers.update-containers = { - description = "Weekly + Reboot container update"; - wantedBy = [ "timers.target" ]; - timerConfig = { - OnBootSec = "5min"; # Run 5 minutes after boot - OnUnitActiveSec = "1w"; # Run every week after last run - Persistent = true; # Catch up if system was off - }; -}; +#systemd.timers.update-containers = { +# description = "Weekly + Reboot container update"; +# wantedBy = [ "timers.target" ]; +# timerConfig = { +# OnBootSec = "5min"; # Run 5 minutes after boot +# OnUnitActiveSec = "1w"; # Run every week after last run +# Persistent = true; # Catch up if system was off +# }; +#}; # Create Gotify Docker monitoring script task