1
Fork 0
satellite/hosts/nixos/common/optional/oci.nix

14 lines
318 B
Nix
Raw Permalink Normal View History

2024-01-18 07:44:16 +01:00
{
2024-06-11 11:37:14 +02:00
virtualisation.oci-containers.backend = "docker";
2024-06-11 11:45:24 +02:00
2024-10-11 14:12:05 +02:00
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
};
2024-06-11 11:45:24 +02:00
environment.persistence = {
2024-08-26 17:38:47 +02:00
"/persist/state".directories = [ "/var/lib/containers/storage" ];
"/persist/local/cache".directories = [ "/var/lib/containers/cache" ];
2024-06-11 11:45:24 +02:00
};
2024-01-18 07:44:16 +01:00
}