+10
-1
packetmix/systems/midnight/spindle.nix
+10
-1
packetmix/systems/midnight/spindle.nix
···
2
2
#
3
3
# SPDX-License-Identifier: MIT
4
4
5
-
{ project, ... }:
5
+
{ project, pkgs, lib, ... }:
6
6
{
7
7
imports = [ project.inputs.tangled.result.nixosModules.spindle ];
8
8
···
18
18
};
19
19
pipelines.workflowTimeout = "2h";
20
20
};
21
+
22
+
virtualisation.docker.autoPrune = {
23
+
enable = true;
24
+
dates = "hourly";
25
+
};
26
+
systemd.services.docker-prune.serviceConfig.ExecStart = lib.mkForce ''
27
+
${pkgs.docker}/bin/docker network prune -f ;\
28
+
${pkgs.docker}/bin/docker container prune -f
29
+
'';
21
30
22
31
clicks.storage.impermanence.persist.directories = [
23
32
"/var/lib/docker"