remove prune task
This commit is contained in:
@@ -120,23 +120,23 @@ systemd.timers.nextcloud = {
|
||||
};
|
||||
|
||||
# Create nextcloud cron scheduled task
|
||||
systemd.services.docker-prune = {
|
||||
description = "Prune docker data";
|
||||
script = ''${pkgs.docker} system prune --volumes --all'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "nixos";
|
||||
};
|
||||
path = with pkgs; [ docker docker-compose ];
|
||||
};
|
||||
# systemd.services.docker-prune = {
|
||||
# description = "Prune docker data";
|
||||
# script = ''${pkgs.docker} system prune --volumes --all'';
|
||||
# serviceConfig = {
|
||||
# Type = "oneshot";
|
||||
# User = "nixos";
|
||||
# };
|
||||
# path = with pkgs; [ docker docker-compose ];
|
||||
# };
|
||||
|
||||
systemd.timers.docker-prune = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "monthly";
|
||||
Persistent = true;
|
||||
};
|
||||
};
|
||||
# systemd.timers.docker-prune = {
|
||||
# wantedBy = [ "timers.target" ];
|
||||
# timerConfig = {
|
||||
# OnCalendar = "monthly";
|
||||
# Persistent = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
# create update task
|
||||
|
||||
|
||||
Reference in New Issue
Block a user