remove prune task

This commit is contained in:
2026-07-07 00:28:15 +10:00
parent d16b22d2b5
commit a553958bb9
+16 -16
View File
@@ -120,23 +120,23 @@ systemd.timers.nextcloud = {
}; };
# Create nextcloud cron scheduled task # Create nextcloud cron scheduled task
systemd.services.docker-prune = { # systemd.services.docker-prune = {
description = "Prune docker data"; # description = "Prune docker data";
script = ''${pkgs.docker} system prune --volumes --all''; # script = ''${pkgs.docker} system prune --volumes --all'';
serviceConfig = { # serviceConfig = {
Type = "oneshot"; # Type = "oneshot";
User = "nixos"; # User = "nixos";
}; # };
path = with pkgs; [ docker docker-compose ]; # path = with pkgs; [ docker docker-compose ];
}; # };
systemd.timers.docker-prune = { # systemd.timers.docker-prune = {
wantedBy = [ "timers.target" ]; # wantedBy = [ "timers.target" ];
timerConfig = { # timerConfig = {
OnCalendar = "monthly"; # OnCalendar = "monthly";
Persistent = true; # Persistent = true;
}; # };
}; # };
# create update task # create update task